<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Ryan:<div><br></div><div>I get this when compiling “dialectExample” in the browser (v0.0.9.2215 / 901dc50)<div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Internal compiler error at line 22 of ../xmodule. BoundsError: "ast".substringFrom(0)to(3) but string.size = 3</div><div><br></div><div>Is this the problem that you are seeing? </div><div><br></div><div>I think that this may be a bug that I’ve already fixed in a newer version. But the newer version has changes that mean it won’t yet run in the browser. It will take me some time to work through all of the versions that I have "on the stove" and get one that is ready to push out.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Andrew</div><div><br></div><div><br><div><div>On 16 Feb 2015, at 14:49, Ryan Luo <<a href="mailto:rllluo@gmail.com">rllluo@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">The provided dialect "dialectExample.grace" which uses "dialect.grace" seems to have a bug.<div><br></div><div>I get a similar problem on both the New Zealand and Pomona web compilers with the error message: </div><div><span style="color:rgb(220,50,47);font-family:Monaco,Menlo,'Ubuntu Mono',Consolas,monospace;font-size:13.3333330154419px;white-space:pre-wrap"><br></span></div><div><span style="color:rgb(220,50,47);font-family:Monaco,Menlo,'Ubuntu Mono',Consolas,monospace;font-size:13.3333330154419px;white-space:pre-wrap">Dialect Error at line 15 of checker for dialect dialectExample.</span></div><ol class="" style="list-style-type:none;margin:0px;padding:0px;color:rgb(167,168,162);font-family:Monaco,Menlo,'Ubuntu Mono',Consolas,monospace;font-size:13.3333330154419px;white-space:pre-wrap"><li> in "requiredTypeTest"</li></ol><div><br></div><div>It's worth noting that the program "requiredTypeTest.grace" is included below and is shorter than 15 lines, leading me to believe that the error is not in the test program I wrote.</div><div><br></div><div>Could someone take a look for me? Thanks!</div><div><br></div><div>The program "requiredTypeTest" is included below:</div><div><br></div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>dialect "dialectExample"</div><div>inherits prelude.methods</div><div><br></div><div>var a : Number := 23</div><div><br></div><div><br></div><div>method x(y:Number)->Number {return y }</div><div>print "{(x(2))}"</div></blockquote><div><br></div></div>
_______________________________________________<br>Grace-core mailing list<br><a href="mailto:Grace-core@cecs.pdx.edu">Grace-core@cecs.pdx.edu</a><br>https://mailhost.cecs.pdx.edu/mailman/listinfo/grace-core<br></blockquote></div><br></div></div></body></html>