NI: don't filter flexible types during CST calculation and force return as result the first of such types
^KT-35658 Fixed
This commit is contained in:
@@ -11203,6 +11203,16 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/upperBounds/doNotInferFromBoundsOnly.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("flexibilityInCommonSuperTypeCalculation.kt")
|
||||
public void testFlexibilityInCommonSuperTypeCalculation() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/upperBounds/flexibilityInCommonSuperTypeCalculation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("flexibilityInCommonSuperTypeCalculation.ni.kt")
|
||||
public void testFlexibilityInCommonSuperTypeCalculation_ni() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/upperBounds/flexibilityInCommonSuperTypeCalculation.ni.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intersectUpperBounds.kt")
|
||||
public void testIntersectUpperBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/upperBounds/intersectUpperBounds.kt");
|
||||
|
||||
Generated
+10
@@ -11198,6 +11198,16 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
runTest("compiler/testData/diagnostics/tests/inference/upperBounds/doNotInferFromBoundsOnly.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("flexibilityInCommonSuperTypeCalculation.kt")
|
||||
public void testFlexibilityInCommonSuperTypeCalculation() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/upperBounds/flexibilityInCommonSuperTypeCalculation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("flexibilityInCommonSuperTypeCalculation.ni.kt")
|
||||
public void testFlexibilityInCommonSuperTypeCalculation_ni() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/upperBounds/flexibilityInCommonSuperTypeCalculation.ni.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intersectUpperBounds.kt")
|
||||
public void testIntersectUpperBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/upperBounds/intersectUpperBounds.kt");
|
||||
|
||||
Reference in New Issue
Block a user