GADT constructors remove the space in signature #217
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#217
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?
Brittany is pulling the space out from between the
::
and the type immediately following the::
corrects this:
to this:
Personally I'm not a fan of this and I'm guessing it's not intentional? If it is intentional, is it configurable?
I can't reproduce this on
master
,datadecl
, or the0.11.0.0
release. Can you add more information?It's possible this was only happening on an older version. Lemme see if I can pull more details together, as well as update to master and see if it's still happening.
I'm getting this with 0.11.0.0
Seems like a bug, separate from other related issues like #47.
Seeing this as well on brittany 0.12.0.0, as currently released on nixpkgs-unstable.
Still seeing this on brittany 0.13.1.2 installed from a clone of the repo using stack.
becomes
A concrete example from a project I'm working on, just to add a real-world example where brittany removes the space: