Add failing test for template haskell splices #71
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#71
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "eborden/bug-top-level-template-haskell"
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?
For some reason
brittany
is failing to print exact for top levelsplices. This may be an issue in
brittany
orghc-exact-print
, I'mnot sure. I've added failing tests to highlight this issue. This bug
causes
brittany
to produce syntactically invalid Haskell.This test exposes https://github.com/lspitzner/brittany/issues/70
This should be getting processed via the wildcard of
ppDecl
.correct
This might be similar to https://github.com/alanz/ghc-exactprint/issues/52. Maybe you could try the testing code from that issue? Although I am mildly certain already that this is not on brittany's end.
(of course this is another instance of "would be fixed by brittany properly just supporting TemplateHaskell/QuasiQuotation". probably a good bit of work though.)
I added a regression test as part of the fix for #70. (This did not merge anyways.)
Pull request closed