[M3devel] assertion failure in compiler

Jay K jay.krell at cornell.edu
Sun Dec 26 11:02:12 CET 2010


MODULE bug1;

PROCEDURE F1()=
CONST a=ARRAY OF INTEGER{0};
VAR b := SUBARRAY(0,1,a);
BEGIN
END F1;

BEGIN
END bug1.


new source -> compiling bug1.m3
"../src/bug1.m3", line 5: SUBARRAY: first argument must be an array


***
*** runtime error:
***    <*ASSERT*> failed.
***    file "../src/exprs/Expr.m3", line 337
***






 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20101226/009a1ede/attachment-0001.html>


More information about the M3devel mailing list