Compiler crashes for some malformed existential data type
With the latest greatest nightly iTasks compiler when running:
clm -IL iTasks -IL Platform -IL TCPIP -IL ABCInterpreter -IL GraphCopy -IL Dynamics -dynamics test
The following error occurs and the compiler crashes
Error [test.icl,6,SDSNoNotify]: sds type variable already defined
readPtr: Not a pointer of this heapclm: reading compiler result failed: No such file or directory
module test
import iTasks
:: SDSNoNotify sds p r w = E.sds: SDSNoNotify (sds p r w) & RWShared sds
Start = 42
It is obvious that this is an erroneous program but it shouldn't lead to a compiler crash.
The even simpler program:
module test
:: T a = E.a: T a
Start = 42
crashes with a similar error:
Error [test.icl,3,T]: a type variable already defined
readPtr: Not a pointer of this heapclm: reading compiler result failed: No such file or directory
Edited by Mart Lubbers