logo       

Re: PackedString.hGetPS produces index exception: msg#00036

lang.haskell.glasgow.bugs

Subject: Re: PackedString.hGetPS produces index exception

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@xxxxxxxxxxx
[mailto:glasgow-haskell-bugs-admin@xxxxxxxxxxx] On
| Behalf Of George Russell
| Sent: 15 April 2003 19:29
| To: glasgow-haskell-bugs@xxxxxxxxxxx
| | 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))
|



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise