Comments in list lead to odd formatting for preceding element #231
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#231
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?
Note that the formatting of the element before the comment is not consistent with the other elements.
A workaround is butting the comment after the comma:
Actually, similar behavior has led to a semantic error with Haddock for me:
Original code
is formatted to
which throws a Haddock error of the form
@dschrempf That's probably worthy of it's own issue
Done, see #281.
I do agree that it is a separate issue, but I cannot help but mention that I ran into (an equivalent of) this while implementing #281. Heh.
I still need to write some tests before I push, but both seem to resolved locally.