Brittany fails to format code with type families #340
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#340
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
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?
Hello,
it seems that current version of Brittany from
master
(6b4e53484014c7dc1e405a38e44e90e305d9a0e4
), as well as the released0.13.1.0
has some issues with formatting code containing type families, like this:This code compiles well, but when trying to format with brittany, I'm getting errors (at line starting with
data UpdateCopyrightConfig
) like these:You can see the full affected source code here, as well as the entire project. Do you have any ideas what could be wrong here?
Thank you.
EDIT: Just for completenes, until now I used brittany built from commit
a13ad1b
and that one doesn't have this issue.Just encountered same issue. Looks like the problem is
DataKinds
.SomeFile.hs
:Error output:
I'm experiencing this same issue too