#7183: Spelling "show" with lovercase causes compiler crash
--------------------------------+-------------------------------------------
 Reporter:  fjolle              |          Owner:                  
     Type:  bug                 |         Status:  new             
 Priority:  normal              |      Component:  Compiler        
  Version:  7.4.2               |       Keywords:                  
       Os:  Windows             |   Architecture:  Unknown/Multiple
  Failure:  Compile-time crash  |       Testcase:                  
Blockedby:                      |       Blocking:                  
  Related:                      |  
--------------------------------+-------------------------------------------
 The embedded code in this report makes GHC panic. I accidentally spelled
 "show" with a lowercase s.

 This is the output when trying to load the script in GHCi:

 *Main> :r
 [1 of 1] Compiling Main             ( btree.hs, interpreted )
 ghc.exe: panic! (the 'impossible' happened)
   (GHC version 7.4.2 for i386-unknown-mingw32):
         nameModule show{tv alJ}

 {{{
 type Vejnavn = String
 type By = String

 data Adresse = Adresse Vejnavn By
         deriving(show)
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to