Incorrect arrow rec {} notation crashes in ghci
[ ~ ]% 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
Trac metadata
Trac field |
Value |
Version |
6.8.1 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
Unresolved |
Component |
Compiler |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|