NI: Add flexible Nothing to trivial constraints to filter it
This commit is contained in:
@@ -10567,6 +10567,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/nothingType/generateConstraintWithInnerNothingType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("implicitInferenceTToFlexibleNothing.kt")
|
||||
public void testImplicitInferenceTToFlexibleNothing() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/nothingType/implicitInferenceTToFlexibleNothing.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("implicitNothingConstraintFromReturn.kt")
|
||||
public void testImplicitNothingConstraintFromReturn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/nothingType/implicitNothingConstraintFromReturn.kt");
|
||||
|
||||
Generated
+5
@@ -10562,6 +10562,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
runTest("compiler/testData/diagnostics/tests/inference/nothingType/generateConstraintWithInnerNothingType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("implicitInferenceTToFlexibleNothing.kt")
|
||||
public void testImplicitInferenceTToFlexibleNothing() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/nothingType/implicitInferenceTToFlexibleNothing.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("implicitNothingConstraintFromReturn.kt")
|
||||
public void testImplicitNothingConstraintFromReturn() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/nothingType/implicitNothingConstraintFromReturn.kt");
|
||||
|
||||
Reference in New Issue
Block a user