Skip to content

ghci debugger sometime doesn't notice that Integers are Integers

The ghci debugger sometime doesn't notice that Integers are Integers.

For example:

--- ./ghci.debugger/scripts/2740.stdout.normalised  2009-06-23 12:52:07.000000000 +0100
+++ ./ghci.debugger/scripts/2740.run.stdout.normalised  2009-06-23 12:52:07.000000000 +0100
@@ -6,5 +6,5 @@
 y :: a = _
 x = (_t1::a)
 y = (_t2::a)
-x = 1
-y = 2
+x = GHC.Integer.GMP.Internals.S# 1
+y = GHC.Integer.GMP.Internals.S# 2
*** unexpected failure for 2740(ghci)
Trac metadata
Trac field Value
Version 6.11
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information