Introduce warnings reporting by missed constraints because of incorrect optimization in the constraints processor
This commit is contained in:
+18
@@ -17190,6 +17190,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/inference/kt39824.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42042.kt")
|
||||
public void testKt42042() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inference/kt42042.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt42130.kt")
|
||||
public void testKt42130() throws Exception {
|
||||
@@ -17214,6 +17220,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/inference/lastExpressionOfLambdaWithNothingConstraint.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyConstraintsDueToFlexibleRawTypes.kt")
|
||||
public void testManyConstraintsDueToFlexibleRawTypes() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inference/manyConstraintsDueToFlexibleRawTypes.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyFlexibleTypeParametersFromJavaAndConversions.kt")
|
||||
public void testManyFlexibleTypeParametersFromJavaAndConversions() throws Exception {
|
||||
@@ -17298,6 +17310,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/inference/unsafeVarianceCodegen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("violatingUpperBoundForSelfType.kt")
|
||||
public void testViolatingUpperBoundForSelfType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inference/violatingUpperBoundForSelfType.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/inference/builderInference")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user