-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow type
in common stanzas or default to exitcode-stdio-1.0
#5531
Comments
@daig there is a simple reason: common stanzas currently only allow fields which are applicable to all stanza kinds, iow, the common denominator; this was a deliberate design decision to simplify the semantics & implementation for the first iteration of See also #2832 for a discussion of how to model "typed common" stanzas which is what we'd need to address this. |
Thanks, I had missed that discussion. It does make sense for a first iteration and I'm much glad to have existing |
I think this is subsumed by #7459 |
Currently, cabal complains:
I don't see any reason that
type
should be excluded from common stantzas - does it make sense to add?A minor annoyance, but in practice the boilerplate encourages monolithic test files
The text was updated successfully, but these errors were encountered: