[GHC] #11184: panic tcMonoExpr _ with bad indentation in TH code

GHC ghc-devs at haskell.org
Thu Dec 10 10:49:21 UTC 2015


#11184: panic tcMonoExpr _ with bad indentation in TH code
-------------------------------------+-------------------------------------
        Reporter:  TeroLaitinen      |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by phadej):

 {{{
 {-# LANGUAGE TemplateHaskell #-}

 $((\x -> case x of
             "foo" -> "bar"
                   _  -> x))
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11184#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list