don't generate direct increment and similar bytecodes for variables which are captured in closure (KT-1980)
This commit is contained in:
@@ -391,4 +391,9 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
|
||||
blackBoxFile("regressions/kt1918.kt");
|
||||
}
|
||||
|
||||
public void testKt1980() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
|
||||
blackBoxFile("regressions/kt1980.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user