[GHC] #11336: GHC craches on this combination of ViewPatterns and PatternSynonyms

GHC ghc-devs at haskell.org
Sat Jan 2 12:34:20 UTC 2016


#11336: GHC craches on this combination of ViewPatterns and PatternSynonyms
-------------------------------------+-------------------------------------
        Reporter:  baramoglo         |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by baramoglo):

 Forgot to say that I'm able to work around the problem by changing the
 last line to

 {{{#!hs
 fun (Sym (prj -> Just B) :$ _) = undefined
 }}}

 So this is not a blocker for me.

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


More information about the ghc-tickets mailing list