#2111: Incorrect arrow rec {} notation crashes in ghci
-----------------------+----------------------------------------------------
    Reporter:  luqui   |       Owner:          
        Type:  bug     |      Status:  new     
    Priority:  normal  |   Component:  Compiler
     Version:  6.8.1   |    Severity:  normal  
    Keywords:          |    Testcase:          
Architecture:  x86     |          Os:  Linux   
-----------------------+----------------------------------------------------
 {{{
 [ ~ ]% ghci -fglasgow-exts -farrows
 GHCi, version 6.8.1: http://www.haskell.org/ghc/  :? for help
 Loading package base ... linking ... done.
 Prelude> do { rec { x <- undefined -< x }; undefined -< x }
 ghc-6.8.1: panic! (the 'impossible' happened)
   (GHC version 6.8.1 for i386-unknown-linux):
         tcDoStmt: unexpected Stmt
     rec {(x{v anj}) <- base:GHC.Err.undefined{v rle} -< x{v anj}}

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 Prelude> Leaving GHCi.
 [ ~ ]% ghc --version
 The Glorious Glasgow Haskell Compilation System, version 6.8.1
 [ ~ ]% uname -a
 Linux madhatter 2.6.22-gentoo-r8 #6 PREEMPT Sat Oct 20 04:19:22 GMT 2007
 i686 AMD Turion(tm) 64 Mobile Technology ML-40 AuthenticAMD GNU/Linux
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2111>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to