Closed phadej closed 1 year ago
I haven't looked closely, but there have been some similar-smelling GHC issues recently: https://gitlab.haskell.org/ghc/ghc/-/issues/22924
Looks like it will be worth trying again with the RC.
I tried with a GHC built from ghc-9.6
branch yesterday, and the coercing works!
There's one test failing locally:
traverseOf_ itraversed = traverseOf_ folded: FAIL
tests/Optics/Tests/Utils.hs:68:
tests/Optics/Tests/Core.hs:99:21: lhs14 ==~ rhs14 passed.
Use -p '/traverseOf_ itraversed = traverseOf_ folded/' to rerun this test only.
That test is expected to fail with GHC-9.2 and GHC-9.4, but seems to work again with GHC-9.6!
@adamgundry do you know what
might be related to?