[Grace-core] Dialect issues

Ryan Luo rllluo at gmail.com
Mon Feb 16 14:49:43 PST 2015


The provided dialect "dialectExample.grace" which uses "dialect.grace"
seems to have a bug.

I get a similar problem on both the New Zealand and Pomona web compilers
with the error message:

Dialect Error at line 15 of checker for dialect dialectExample.

   1. in "requiredTypeTest"


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.

Could someone take a look for me? Thanks!

The program "requiredTypeTest" is included below:


dialect "dialectExample"
inherits prelude.methods

var a : Number := 23


method x(y:Number)->Number {return y }
print "{(x(2))}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailhost.cecs.pdx.edu/pipermail/grace-core/attachments/20150216/cf62b621/attachment.html>


More information about the Grace-core mailing list