[Wasm] Fix generation optimised when expression with Nothing type
Fixed #KT-62147
This commit is contained in:
+6
@@ -41001,6 +41001,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
runTest("compiler/testData/codegen/box/when/noElseNoMatch.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nothingTyped.kt")
|
||||
public void testNothingTyped() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/nothingTyped.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableWhen.kt")
|
||||
public void testNullableWhen() throws Exception {
|
||||
|
||||
+6
@@ -42055,6 +42055,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
runTest("compiler/testData/codegen/box/when/noElseNoMatch.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nothingTyped.kt")
|
||||
public void testNothingTyped() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/nothingTyped.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableWhen.kt")
|
||||
public void testNullableWhen() throws Exception {
|
||||
|
||||
+6
@@ -40475,6 +40475,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/when/noElseNoMatch.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nothingTyped.kt")
|
||||
public void testNothingTyped() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/nothingTyped.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableWhen.kt")
|
||||
public void testNullableWhen() throws Exception {
|
||||
|
||||
+6
@@ -41002,6 +41002,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/when/noElseNoMatch.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nothingTyped.kt")
|
||||
public void testNothingTyped() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/nothingTyped.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nullableWhen.kt")
|
||||
public void testNullableWhen() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user