diff --git a/compiler/backend/src/org/jetbrains/jet/codegen/binding/CodegenBinding.java b/compiler/backend/src/org/jetbrains/jet/codegen/binding/CodegenBinding.java index 927166ede18..7f9a2a6eca1 100644 --- a/compiler/backend/src/org/jetbrains/jet/codegen/binding/CodegenBinding.java +++ b/compiler/backend/src/org/jetbrains/jet/codegen/binding/CodegenBinding.java @@ -197,7 +197,9 @@ public class CodegenBinding { closure.setCaptureThis(); } - if (enclosing != null) { + //TEMPORARY EAT INNER CLASS INFO FOR FUNCTION LITERALS + //TODO: we should understand that lambda/closure would be inlined and don't generate inner class record + if (enclosing != null && !(element instanceof JetFunctionLiteral)) { recordInnerClass(bindingTrace, enclosing, classDescriptor); } }