[NI] Don't discriminate Nothing-type from resulting ones
^KT-32106 Fixed
This commit is contained in:
committed by
Pavel Kirpichenkov
parent
a8e9a6a1d0
commit
ae1630f376
@@ -10602,6 +10602,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/nothingType/implicitNothingConstraintFromReturn.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inferArgumentToNothingFromNullConstant.kt")
|
||||
public void testInferArgumentToNothingFromNullConstant() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/nothingType/inferArgumentToNothingFromNullConstant.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt24490.kt")
|
||||
public void testKt24490() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/nothingType/kt24490.kt");
|
||||
|
||||
Generated
+5
@@ -10597,6 +10597,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
runTest("compiler/testData/diagnostics/tests/inference/nothingType/implicitNothingConstraintFromReturn.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inferArgumentToNothingFromNullConstant.kt")
|
||||
public void testInferArgumentToNothingFromNullConstant() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/nothingType/inferArgumentToNothingFromNullConstant.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt24490.kt")
|
||||
public void testKt24490() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/nothingType/kt24490.kt");
|
||||
|
||||
Reference in New Issue
Block a user