Fix for KT-15447: Compiler backend error: "Don't know how to generate outer expression for class"

#KT-15447 Fixed
This commit is contained in:
Mikhael Bogdanov
2016-12-28 17:52:07 +01:00
parent 2566a7a25e
commit e775cc697e
7 changed files with 39 additions and 4 deletions
@@ -340,11 +340,7 @@ class CodegenAnnotatingVisitor extends KtVisitorVoid {
closure.setCaptureReceiverType(receiverType);
}
classStack.push(classDescriptor);
nameStack.push(name);
super.visitCallableReferenceExpression(expression);
nameStack.pop();
classStack.pop();
}
@NotNull