-
Notifications
You must be signed in to change notification settings - Fork 25
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
ghc-options: -Wall and doctest #30
Comments
I see two ways to fix this:
|
I'm in favor of the second option as well. Would you expect the behaviour to be that |
To be honest, I'm a bit conflicted on whether we should be passing the same If we do decide to pass both sets of options, I would expect |
Thank you for the input! I hope you are ok with a However, I'm happy with the explicit |
One might want or need to specify e.g. |
@phadej right, that wouldn't work without |
I'm not yet ready to drop the custom build mode I use. We'd need to get to a point where the case that just works has much much better user-base penetration lest I cut off users. That said, I'm open to making the tests more verbose to have them run |
Now that we have migrated away from |
With sol/doctest#156 and haskell/cabal#4480, the custom build type and setup could be dropped, and a simple
cabal doctest
would do the testing.However, as this now passes the same flags as cabal,
doctest
is run with-Wall
as well, as specified in theghc-options:
. This however results in the following test failure:As an affected package by this, I'd like to solicit some feedback on this from your point of view, what would be the expected behaviour here?
The text was updated successfully, but these errors were encountered: