-
Notifications
You must be signed in to change notification settings - Fork 72
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
interaction between hint and doctest #70
Comments
Hey, I'm on holiday until January 20th. I'll into it when I'm back ;) BTW, exact versions of everything could useful. |
|
The issue also occurs with the oldest versions of doctest and hint I can install without reinstalling ghc:
|
The issue was indeed in ghc, closing.
|
Ok, cool :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like issue #11 is back. I see in that thread that the root cause was in ghc, maybe I should report it there instead? Anyway, on to the actual bug report.
In a file called
Main.hs
:The program fails with
Main.hs: Too late for parseStaticFlags: call it before newSession
. But there is an easy workaround: if I swap the calls torunInterpreter
anddoctest
, I getExamples: 1 Tried: 1 Errors: 0 Failures: 0
, as expected.(By the way, doctest is my favorite testing framework ever! And it makes so much more sense to use that strategy in Haskell than in python.)
The text was updated successfully, but these errors were encountered: