[clean-list] compiler stack overflow

Divianszky Peter divip at aszt.inf.elte.hu
Sun Mar 12 19:19:53 MET 2006


Hi,

I think I have found an error in the Clean compiler.

If the simple module

   ------------------- p.icl ---------------
   module p

   Start = (let y = (let x = y in x) in y)
   -----------------------------------------

is compiled with `clm p` (Clean system 2.1.1 on Linux),
the result is:

   Compiling p
   Stack overflow.
   clm: reading compiler result failed: No such file or directory

Note that for the module

   ------------------- q.icl ---------------
   module q

   Start = (let y = y in y)
   -----------------------------------------

the result is:

   Compiling q
   Error [q.icl,3,Start]:  cyclic let definition


Regards,

Peter


More information about the clean-list mailing list