#6067: regression: cgrun051(ghci) failing in HEAD
---------------------------------+------------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 7.6.1
Component: Compiler | Version: 7.5
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
{{{
=====> cgrun051(ghci) 46 of 79 [0, 0, 0]
cd . && '/64playpen/simonmar/nightly/HEAD-cam-04-unx/x86_64-unknown-
linux/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-
debug-output -no-user-package-conf -rtsopts -fno-ghci-history cgrun051.hs
--interactive -v0 -ignore-dot-ghci +RTS -I0.1 -RTS <cgrun051.genscript
1>cgrun051.interp.stdout 2>cgrun051.interp.stderr
Actual stderr output differs from expected:
--- ./cgrun051.stderr 2012-04-30 18:02:44.638862376 +0100
+++ ./cgrun051.run.stderr 2012-05-01 11:19:15.808880452 +0100
@@ -1 +1 @@
-cgrun051: OK
+cgrun051: Impossible case alternative
*** unexpected failure for cgrun051(ghci)
}}}
The code is very simple. For some reason the simplifier is replacing the
`error "OK"` with `runtimeError "Impossible case alternative"`, but only
in GHCi.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6067>
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