diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/parsing/JetParsing.java b/compiler/frontend/src/org/jetbrains/jet/lang/parsing/JetParsing.java index 409e4e8264f..1e5f528da10 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/parsing/JetParsing.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/parsing/JetParsing.java @@ -1117,6 +1117,7 @@ public class JetParsing extends AbstractJetParsing { * * delegationSpecifier * : constructorInvocation // type and constructor arguments + * : userType * : explicitDelegation * ; * diff --git a/grammar/src/class.grm b/grammar/src/class.grm index 56cd2938ad0..8dbf57426ad 100644 --- a/grammar/src/class.grm +++ b/grammar/src/class.grm @@ -32,6 +32,7 @@ classBody delegationSpecifier : constructorInvocation // type and constructor arguments + : userType : explicitDelegation ;