JET-47 Require a ':' in object literals

This commit is contained in:
Andrey Breslav
2011-05-24 22:31:21 +04:00
parent 2a2a697953
commit 5989fb2bc3
18 changed files with 43 additions and 15 deletions
+1 -1
View File
@@ -238,7 +238,7 @@ arrayAccess
;
objectLiteral
: "object" delegationSpecifier{","}? classBody // Cannot make class body optional: foo(object F, a)
: "object" ":" delegationSpecifier{","}? classBody // Cannot make class body optional: foo(object F, a)
;
/* Factory methods: