Fix imports of type operators. #171
No reviewers
Labels
No Label
blocked: dependency
blocked: info-needed
bug
duplicate
enhancement
fixed in HEAD
help wanted
hs:arrows
hs:brackets
hs:classes
hs:comments
hs:do-notation
hs:guards
hs:lists
hs:operators
hs:patterns
hs:records
hs:types
invalid
language extension support
layouting
needs confirmation
priority: high
priority: low
question
revisit before next release
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: hexagoxel/brittany#171
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "fix-type-operator-imports"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Previously, we could only import a type operator with no subsequent list, i.e.
was fine, but
would all break. Brittany would attempt to output them as
I believe the problem was that although
ieName <$> lie
was returning anIEWrappedName
with the same contents as used inlayoutWrapped
, it had different location annotations; and the parentheses are apparently saved in the location annotations.Closes #170.
Nice catch, thanks!