#4877: Template Haskell panic when splicing an infix expression with a non-
variable middle bit
---------------------------------+------------------------------------------
Reporter: benmachine | Owner: simonpj
Type: bug | Status: closed
Priority: normal | Milestone: 7.2.1
Component: Template Haskell | Version: 7.0.1
Resolution: fixed | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: Compile-time crash |
---------------------------------+------------------------------------------
Comment(by NeilMitchell):
The error message that was added was "Operator application with a non-
variable operator" - I got that error message and was very confused (I
resorted to reading the source code to figure out what it meant). I think
it would be far clearer if it read "Infix application with a non-variable
operator" - OpApp is an internal GHC detail which users of Template
Haskell aren't aware of - they will have written InfixE.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4877#comment:5>
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