FIR: allow no else branch for when on Nothing(?)
This commit is contained in:
committed by
teamcityserver
parent
e242ad955b
commit
f737d8002e
+6
@@ -32089,6 +32089,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
runTest("compiler/testData/diagnostics/tests/when/whenAndLambdaWithExpectedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whenOnNothing.kt")
|
||||
public void testWhenOnNothing() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/when/whenOnNothing.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("WhenTypeDisjunctions.kt")
|
||||
public void testWhenTypeDisjunctions() throws Exception {
|
||||
|
||||
+6
@@ -32089,6 +32089,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
|
||||
runTest("compiler/testData/diagnostics/tests/when/whenAndLambdaWithExpectedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whenOnNothing.kt")
|
||||
public void testWhenOnNothing() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/when/whenOnNothing.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("WhenTypeDisjunctions.kt")
|
||||
public void testWhenTypeDisjunctions() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user