[Wasm] Fix generation optimised when expression with Nothing type

Fixed #KT-62147
This commit is contained in:
Igor Yakovlev
2023-09-22 14:19:45 +02:00
parent 624d35fefd
commit 758484a01f
19 changed files with 146 additions and 3 deletions
@@ -43689,6 +43689,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/when/noElseNoMatch.kt");
}
@TestMetadata("nothingTyped.kt")
public void testNothingTyped() throws Exception {
runTest("compiler/testData/codegen/box/when/nothingTyped.kt");
}
@TestMetadata("nullableWhen.kt")
public void testNullableWhen() throws Exception {
runTest("compiler/testData/codegen/box/when/nullableWhen.kt");