Commit 3cf9506
authored
Fix TyVar BndrVis (#2622)
#2542 allowed `dhall`
to compile with template-haskell-2.21 and GHC-9.8 by adapting to the
addition of a binder visibility field on type variables.
Previously all binders were taken to be required, but in GHC-9.8 the
possibility of invisible binders was introduced.
The above patch mistakenly set all binders generated by Dhall to be
invisible, rather than default value of required. This changes the
semantics of the code and broke some examples in the test suite.
This patch fixes this by correctly setting binders to be BndrReq.
Resolves #25671 parent 063357f commit 3cf9506
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
0 commit comments