[GHC] #12542: Unexpected failure.. (bug?)

GHC ghc-devs at haskell.org
Fri Aug 26 09:58:43 UTC 2016


#12542: Unexpected failure.. (bug?)
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Iceland_jack):

 Ah! It has something to do with the extensions I enabled in my `.ghci`:

 With

 {{{#!hs
 {-# Language GADTs,LambdaCase,TypeOperators,ViewPatterns #-}
 }}}

 it compiles just fine, but it fails when I add

 {{{#!hs
 {-# Language
 GADTs,LambdaCase,TypeOperators,ViewPatterns,NoMonomorphismRestriction #-}
 }}}s

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


More information about the ghc-tickets mailing list