JET-47 Require a ':' in object literals
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user