Johannes Waldmann ([EMAIL PROTECTED]) reports:
> this is not really a bug report
>
> if hugs runs out of memory when loading files, it stops with a message
> like
>
>       INTERNAL ERROR: importEntity
>       Loop> [Leaving Hugs]
>
> this is not very informative. it should name the cause of the problem
> and suggest using the -h option.

Anything which causes an "INTERNAL ERROR" is a bug.  In fact, this 
sounds like a bug I fixed last week.  If your program explicitly
imports the Prelude, then this patch might fix it:

> diff -r1.21 static.c
> 3973c3973
> <       module(thisModule).qualImports=cons(pair(modulePrelude,NIL),
> ---
> >       module(thisModule).qualImports=cons(pair(mkCon(textPrelude),modulePrelude),

If this doesn't help, can you please send us a (small?) example which
demonstrates the problem?


Alastair

Reply via email to