Add constraints between two different stub variables instead of creating constraint error due to T1 isn't subtype of T2
^KT-44241 Fixed
This commit is contained in:
+10
@@ -14596,6 +14596,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/inference/builderInference/commonSuperTypeNullable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constraintsBetweenTwoStubVariables.kt")
|
||||
public void testConstraintsBetweenTwoStubVariables() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inference/builderInference/constraintsBetweenTwoStubVariables.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intersect.kt")
|
||||
public void testIntersect() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inference/builderInference/intersect.kt");
|
||||
@@ -14611,6 +14616,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/inference/builderInference/kt42139.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt44241.kt")
|
||||
public void testKt44241() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inference/builderInference/kt44241.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt47052.kt")
|
||||
public void testKt47052() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inference/builderInference/kt47052.kt");
|
||||
|
||||
Reference in New Issue
Block a user