[GHC] #8759: Pattern synonyms and TH

GHC ghc-devs at haskell.org
Sun Feb 9 16:35:35 UTC 2014


#8759: Pattern synonyms and TH
-----------------------------------+---------------------------------------
       Reporter:  monoidal         |             Owner:
           Type:  bug              |            Status:  new
       Priority:  normal           |         Milestone:
      Component:  Compiler         |           Version:  7.7
       Keywords:                   |  Operating System:  Unknown/Multiple
   Architecture:                   |   Type of failure:  Compile-time crash
  Unknown/Multiple                 |         Test Case:
     Difficulty:  Unknown          |          Blocking:
     Blocked By:                   |
Related Tickets:                   |
-----------------------------------+---------------------------------------
 This file

 {{{
 {-# LANGUAGE PatternSynonyms, TemplateHaskell #-}
 x = [d|pattern P = ()|]
 }}}

 causes a panic. Until TH supports pattern synonyms we should give a
 sensible error message.

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


More information about the ghc-tickets mailing list