Fix bug in requiring braces for new methods.

This commit is contained in:
David Anderson
2014-06-22 13:28:35 -07:00
parent 354022888f
commit b6eb3b041b
4 changed files with 12 additions and 2 deletions
@@ -0,0 +1,8 @@
methodmap Crab {
public Crab() return Crab:5;
};
public main() {
new Crab:crab = Crab();
return _:crab;
}
@@ -0,0 +1 @@
expected token: "{", but found "return"