Reuse captured arguments for flexible type's bounds properly, by equality of type constructors modulo mutability and type argument
^KT-43630 Fixed
This commit is contained in:
+10
@@ -10659,6 +10659,16 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
|
||||
runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/captureTypeOnlyOnTopLevel.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("capturedFlexibleIntersectionTypesWithDifferentBounds.kt")
|
||||
public void testCapturedFlexibleIntersectionTypesWithDifferentBounds() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/capturedFlexibleIntersectionTypesWithDifferentBounds.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("capturedFlexibleIntersectionTypesWithDifferentConstructors.kt")
|
||||
public void testCapturedFlexibleIntersectionTypesWithDifferentConstructors() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/capturedFlexibleIntersectionTypesWithDifferentConstructors.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("capturedType.kt")
|
||||
public void testCapturedType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/capturedTypes/capturedType.kt");
|
||||
|
||||
Reference in New Issue
Block a user