1 Oct 2011 09:07
Re: #4877: Template Haskell panic when splicing an infix expression with a non-variable middle bit
GHC <cvs-ghc <at> haskell.org>
2011-10-01 07:07:52 GMT
2011-10-01 07:07:52 GMT
#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>
RSS Feed