Skip to content

ghci fails in ByteCodeGen.lhs with "nonexhaustive patterns in case"

When loading the attached file into ghci, it fails with:

redwing-dakota> ghci
GHCi, version 6.8.3: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
Prelude> :load Vector.hs
[1 of 1] Compiling Data.Vector.Shore.Internal ( Vector.hs, interpreted )
*** Exception: ghci/ByteCodeGen.lhs:(1214,5)-(1221,34): Non-exhaustive patterns in case

> 

Compiling the file is successful:

redwing-dakota> ghc -c Vector.hs
redwing-dakota> 
Trac metadata
Trac field Value
Version 6.8.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system MacOS X
Architecture x86
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information