Previously, we could only import a type operator with no subsequent
list, i.e.
import Foo ( (:.) )
was fine, but
import Foo ( (:.)(..) )
import Foo ( (:.)((:.) )
import Foo ( (:.)(A, b) )
would all break. Brittany would attempt to output them as
import Foo ( :.(..) )
import Foo ( :.((:.) )
import Foo ( :.(A, b) )
I believe the problem was that although `ieName <$> lie` was returning
an `IEWrappedName` with the same contents as used in `layoutWrapped`,
it had different location annotations; and the parentheses are
apparently saved in the location annotations.
|
||
|---|---|---|
| .. | ||
| 10-tests.blt | ||
| 14-extensions.blt | ||
| 15-regressions.blt | ||
| 16-pending.blt | ||
| 30-tests-context-free.blt | ||
| 40-indent-policy-multiple.blt | ||
| Main.hs | ||