#3165: :history throws "Irrefutable pattern failed" exception
---------------------------+------------------------------------------------
Reporter: greenrd | Owner: igloo
Type: bug | Status: patch
Priority: normal | Milestone: 6.12.1
Component: GHCi | Version: 6.10.2
Resolution: | Keywords:
Testcase: | Blockedby:
Difficulty: Unknown | Os: Linux
Blocking: | Architecture: x86
Failure: None/Unknown |
---------------------------+------------------------------------------------
Changes (by igloo):
* cc: mnislaih (added)
Comment:
This makes hist001 fail; is the new output OK?:
{{{
=====> hist001(ghci) 72 of 74 [0, 0, 0]
cd . && HC='/home/ian/ghc/darcs/ghc/inplace/bin/ghc-stage2' HC_OPTS
='-dcore-lint
-dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts '
'/home/ian/ghc/d
arcs/ghc/inplace/bin/ghc-stage2' --interactive -v0 -ignore-dot-ghci
-dcore-lint
-dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts -ignore-dot-
ghci
<hist001.script >hist001.run.stdout 2>hist001.run.stderr
Actual stdout output differs from expected:
--- ./hist001.stdout.normalised 2010-11-21 18:48:24.000000000 +0000
+++ ./hist001.run.stdout.normalised 2010-11-21 18:48:24.000000000
+0000
@@ -1,15 +1,15 @@
Breakpoint 0 activated at ../Test3.hs:1:14-15
[2,3Stopped at ../Test3.hs:1:14-15
_result :: [a] = _
--1 : mymap (../Test3.hs:(1,1)-(2,31))
+-1 : (../Test3.hs:(1,1)-(2,31))
-2 : mymap (../Test3.hs:2:22-31)
-3 : mymap (../Test3.hs:2:18-20)
-4 : mymap (../Test3.hs:2:18-31)
--5 : mymap (../Test3.hs:(1,1)-(2,31))
+-5 : (../Test3.hs:(1,1)-(2,31))
-6 : mymap (../Test3.hs:2:22-31)
-7 : mymap (../Test3.hs:2:18-20)
-8 : mymap (../Test3.hs:2:18-31)
--9 : mymap (../Test3.hs:(1,1)-(2,31))
+-9 : (../Test3.hs:(1,1)-(2,31))
<end of history>
Logged breakpoint at ../Test3.hs:(1,1)-(2,31)
_result :: [a]
*** unexpected failure for hist001(ghci)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3165#comment:9>
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