Drop result of finally block after interpretation
This change is needed due to using FIR as frontend for tests. In this case finally block doesn't has coercion to unit so it's result must be dropped manually.
This commit is contained in:
committed by
TeamCityServer
parent
61d65436f4
commit
cc169613c1
+6
@@ -331,6 +331,12 @@ public class IrInterpreterAfterFir2IrTestGenerated extends AbstractIrInterpreter
|
||||
runTest("compiler/testData/ir/interpreter/superClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unitResult.kt")
|
||||
public void testUnitResult() throws Exception {
|
||||
runTest("compiler/testData/ir/interpreter/unitResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("vararg.kt")
|
||||
public void testVararg() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user