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. |
||
---|---|---|
.. | ||
Brittany | ||
Brittany.hs |