Commit 1085cea
ci: constrain megaparsec < 9.8 across all GHCs
Broaden the previous GHC < 9.10 constraint to the whole matrix.
megaparsec-9.8.0 breaks the build two different ways:
* GHC < 9.10: fails to compile ("Variable not in scope: foldl'"),
relying on foldl' being re-exported from Prelude (base-4.20 / GHC 9.10).
* GHC >= 9.10: compiles, but changes parse-error rendering (the `^` caret
under the offending token), breaking the expected strings in
Database.Persist.Quasi's test suite (3 failures in QuasiSpec).
The earlier conditional only fixed the compile error; pin unconditionally
so every job uses the pre-9.8 error format the tests expect.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent ac31991 commit 1085cea
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
0 commit comments