PackedString.hGetPS produces index exception
George Russell
ger at tzi.de
Wed Apr 16 04:53:44 EDT 2003
Simon Peyton-Jones wrote:
> Remove old .hi files. When the .hi-file format changes, GHC can emit
> horrid messages like this. It's a royal pain, arising from their binary
> format. It only bites during version transitions, so we've never gotten
> around to fixing it.
Eh what? This occurs when the function is run, not during compilation.
>
> Simon
>
> | -----Original Message-----
> | From: glasgow-haskell-bugs-admin at haskell.org
> [mailto:glasgow-haskell-bugs-admin at haskell.org] On
> | Behalf Of George Russell
> | Sent: 15 April 2003 19:29
> | To: glasgow-haskell-bugs at haskell.org
> |
> | Why does the attached function psTest, for ghc5.04.3 on Linux, produce
> the
> | error:
> | *** Exception: Ix{Int}.index: Index (30000) out of range
> ((0,29999))
> |
>
>
More information about the Glasgow-haskell-bugs
mailing list