[M3devel] assertion failure in compiler
Tony Hosking
hosking at cs.purdue.edu
Sun Dec 26 21:25:42 CET 2010
I think this is a known bug, related to one we already have a testcase for.
On Dec 26, 2010, at 5:02 AM, Jay K wrote:
> 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/66994d4d/attachment-0002.html>
More information about the M3devel
mailing list