-
Notifications
You must be signed in to change notification settings - Fork 73
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
doctest-0.23 fails with GHC 8.6 and 8.8 when it succeeds with 8.0-4 and 9.0-10 #460
Comments
This seems to be a regression in 0.23, because doctest-0.22.9 still succeeds: https://github.com/BNFC/bnfc/actions/runs/10579618933/job/29312530584#step:20:26 |
@andreasabel please provide exact and minimal steps on how to reproduce. |
I am assuming
Then, in a temp directory:
|
Thanks @andreasabel. Can you please try to produce a minimal example? |
Frankly, no. |
I hear your frustration. I, myself, have filled over 50 GHC bugs over the last 15 years, many of them related to regression in
Filling a bug is no guarantee for a fix. That said if However, $ git clone https://github.com/BNFC/bnfc
$ cd bnfc/source
$ git checkout v2.9.5
$ cabal install doctest-0.22.9 -z --overwrite-policy=always
$ cabal build && cabal repl -w doctest --repl-options='-w'
...
Examples: 305 Tried: 147 Errors: 0 Failures: 98 Frankly, I don't know why it has been working for you in the past, and now it stopped working. I'm not saying there is no regression or bug, at this point I simply don't know. Scenarios:Scenario 1: Some version of
|
Weirdly, doctest-0.23 fails on my project with not-in-scope identifiers for just GHC 8.6 and 8.8, but succeeds for all other GHCs in the range 8.0 - 9.10:
E.g. https://github.com/BNFC/bnfc/actions/runs/11596085398/job/32286287814?pr=488#step:21:30
I can also reproduce this locally on my machine.
The text was updated successfully, but these errors were encountered: