Brittany fails on explicit kinded data parameters #310
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#310
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?
Examples where it's failing:
I was not able to reproduce this error. Which version of Brittany are you using?
Thanks for checking this out.
I was using the latest master at this commit:
55f84c329414814c718a81f590fece76c3f91ad1
I have tried with the latest official version and the bug is not there in the examples I gave you. However, Brittany fails on this code in the latest official version.
with this error:
ERROR: Brittany pretty printer returned syntactically invalid result
I think I ran into something similar:
can be worked around by adding
-- brittany-disable-next-binding
before the type declarationI also ran into an error with a similar code. The log says the following.
This can be reproduced by following the steps below. Although the following uses the released zip file, the same error occurs when installed with cabal-install.