for completely empty if statement, put on stack the Tuple0 instance, not its condition (KT-2062)
#KT-2062 Fixed
This commit is contained in:
@@ -346,4 +346,9 @@ public class ControlStructuresTest extends CodegenTestCase {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
|
||||
blackBoxFile("regressions/kt1742.kt");
|
||||
}
|
||||
|
||||
public void testKt2062() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(CompilerSpecialMode.JDK_HEADERS);
|
||||
blackBoxFile("regressions/kt2062.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user