<html><head><base href="x-msg://210/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I think this is a known bug, related to one we already have a testcase for.<div><br>
<br><div><div>On Dec 26, 2010, at 5:02 AM, Jay K wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; ">MODULE bug1;<br><br>PROCEDURE F1()=<br>CONST a=ARRAY OF INTEGER{0};<br>VAR b := SUBARRAY(0,1,a);<br>BEGIN<br>END F1;<br><br>BEGIN<br>END bug1.<br><br><br>new source -> compiling bug1.m3<br>"../src/bug1.m3", line 5: SUBARRAY: first argument must be an array<br><br><br>***<br>*** runtime error:<br>***    <*ASSERT*> failed.<br>***    file "../src/exprs/Expr.m3", line 337<br>***<br><br><br><br><br><br><br></div></span></blockquote></div><br></div></body></html>