Permalink
Browse files

Fix companion object definition in the grammar (KT-8566)

  • Loading branch information...
1 parent 2c989b5 commit e68dcdcc1e6077ba212b89af7e2d88d63a34ba49 @yole yole committed Nov 9, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 grammar/src/class_members.grm
@@ -42,7 +42,7 @@ anonymousInitializer
;
companionObject
- : modifiers "companion" "object"
+ : modifiers "companion" "object" SimpleName (":" delegationSpecifier{","})? classBody?
;
valueParameters

0 comments on commit e68dcdc

Please sign in to comment.