Closed mx-psi closed 4 years ago
Here's what Brittany outputs with --output-on-errors
:
{-# LANGUAGE TypeFamilies #-}
f :: ((Data.Type.Equality~) a b) => a -> b
f = id
Also worth noting that the following equivalent program works fine:
{-# language TypeFamilies #-}
f :: a ~ b => a -> b
f = id
Might be somewhat related to #258.
We already have some special-casing around this at
I wonder why this does not trigger here.
Should be fixed in 77d6d5b553720102f05b3977f89566f2c5c1960b, will merge into master if CI is green in a few minutes.
fixed in 0.12.1.1
Running brittany 0.12.1.0 with the following program
outputs
ERROR: brittany pretty printer returned syntactically invalid result.