#4430: Better support for resolving infix expressions in template haskell
---------------------------------+------------------------------------------
Reporter: reinerp | Owner: igloo
Type: feature request | Status: patch
Priority: normal | Milestone: 7.4.1
Component: Template Haskell | Version: 6.12.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by reinerp):
It's as you say: the test fails without this patch.
The only changes I make are the addition of some (redundant) parentheses
in the output of {{{-ddump-splices}}}. The cause for these extra
parentheses is clear: in the {{{InfixE}}} case of {{{Convert.cvtl}}}, I
added some extra {{{HsPar}}} constructors. In most cases, these extra
parentheses are redundant, but I found it easiest simply to always add
them.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4430#comment:28>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs