"Can't unify" error in debugger
Debugging the attached array1.hs under GHCi gives the following error:
[haskell]$ ghci
GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help
Loading package base ... linking ... done.
Prelude> :load array1.hs
[1 of 1] Compiling Main ( array1.hs, interpreted )
Ok, modules loaded: Main.
*Main> :break rsRandomArray
Breakpoint 0 activated at array1.hs:(31,0)-(42,79)
*Main> main
Loading package array-0.1.0.0 ... linking ... done.
Loading package old-locale-1.0.0.0 ... linking ... done.
Loading package old-time-1.0.0.0 ... linking ... done.
Loading package random-1.0.0.0 ... linking ... done.
Array 1: array Stopped at array1.hs:(31,0)-(42,79)
_result :: ST s (UArray Idx Double) = _
[array1.hs:(31,0)-(42,79)] *Main> :step
Stopped at array1.hs:31:21-53
ghc-6.8.2: panic! (the 'impossible' happened)
(GHC version 6.8.2 for i386-unknown-linux):
Can't unify
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
[array1.hs:31:21-53] *Main> :quit
Leaving GHCi.
I'm running Fedora 8 with gcc version 4.1.2 20070925 (Red Hat 4.1.2-33) and ghc-6.8.2-2.fc8.
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |