Don't lose upper non-expected type constraints to include them to intersection type during finding the result type of the fixing type variable
This commit is contained in:
Generated
+6
@@ -28833,6 +28833,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/dontIntersectUpperBoundWithExpectedType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dontLoseUpperNonExpectedTypeConstraints.kt")
|
||||
public void testDontLoseUpperNonExpectedTypeConstraints() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/dontLoseUpperNonExpectedTypeConstraints.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("extFunctionTypeAsUpperBound.kt")
|
||||
public void testExtFunctionTypeAsUpperBound() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user