Open amigalemming opened 6 months ago
First stop: figuring out what the error message means :see_no_evil: I'm attaching the full error output.
It comes from here: https://github.com/ucsd-progsys/liquidhaskell/blob/develop/liquidhaskell-boot/src/Language/Haskell/Liquid/Constraint/Generate.hs#L360
LH is adding a subtype constraint with the two huge types that are printed in the error and checks that these two types have the same Haskell type. This error message says that they do not have the same Haskell type.
Consider this module:
LiquidHaskell/GHC-9.6.3 complains:
This is a simplified version of: https://hackage.haskell.org/package/comfort-array-0.5.4.2/docs/Data-Array-Comfort-Shape.html