[NI] Remove Nothing result type restriction in most cases
Make Nothing as result type not suitable only for if, when, try and ?: special functions.
This commit is contained in:
@@ -10901,6 +10901,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt3174.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt32106.kt")
|
||||
public void testKt32106() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt32106.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt32250.kt")
|
||||
public void testKt32250() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt32250.kt");
|
||||
|
||||
Generated
+5
@@ -10896,6 +10896,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt3174.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt32106.kt")
|
||||
public void testKt32106() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt32106.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt32250.kt")
|
||||
public void testKt32250() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt32250.kt");
|
||||
|
||||
Reference in New Issue
Block a user