KT-222 Grammar Docu of objectLiteral slightly wrong

#KT-222 Fixed
This commit is contained in:
Andrey Breslav
2012-03-28 16:48:31 +04:00
parent 32e1018ace
commit 7714f84dd8
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -266,7 +266,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: