Harald Sondergaard wrote:
>
> The following two-line program gives
>
> INTERNAL ERROR: parseInput
>
> with Hugs 98, November 99 version:
>
> a = 42
> ~
>
> The second line contains just a tilde.
Thanks for the great bug report!
This is appearing in both STG Hugs and Classic Hugs. It turns
out that just a lone ~ also causes the problem. It appears
that the offside handing has a corner case that is not getting
properly handled. However, we are talking about an invalid
Haskell program.
Obvious workaround: Dont write tildes as the last token!
I'll look into this tomorrow.
Andy