[GHC] #2589: ghci fails in ByteCodeGen.lhs with "nonexhaustive
patterns in case"
GHC
trac at galois.com
Fri Sep 12 15:25:10 EDT 2008
#2589: ghci fails in ByteCodeGen.lhs with "nonexhaustive patterns in case"
------------------------+---------------------------------------------------
Reporter: gwright | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.8.3 | Severity: normal
Keywords: | Testcase:
Architecture: x86 | Os: MacOS X
------------------------+---------------------------------------------------
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>
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2589>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list