NI: Approximate captured-for-star-projections to *

^KT-35602 Fixed
This commit is contained in:
Denis Zharkov
2019-12-23 18:03:54 +03:00
parent 7728102a77
commit 0b385cc532
14 changed files with 434 additions and 228 deletions
@@ -10010,6 +10010,21 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
runTest("compiler/testData/diagnostics/tests/inference/reportAboutUnresolvedReferenceAsUnresolved.kt");
}
@TestMetadata("starApproximation.kt")
public void testStarApproximation() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/starApproximation.kt");
}
@TestMetadata("starApproximationBangBang.kt")
public void testStarApproximationBangBang() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/starApproximationBangBang.kt");
}
@TestMetadata("starApproximationFlexible.kt")
public void testStarApproximationFlexible() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/starApproximationFlexible.kt");
}
@TestMetadata("tryNumberLowerBoundsBeforeUpperBounds.kt")
public void testTryNumberLowerBoundsBeforeUpperBounds() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/tryNumberLowerBoundsBeforeUpperBounds.kt");
@@ -10005,6 +10005,21 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/inference/reportAboutUnresolvedReferenceAsUnresolved.kt");
}
@TestMetadata("starApproximation.kt")
public void testStarApproximation() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/starApproximation.kt");
}
@TestMetadata("starApproximationBangBang.kt")
public void testStarApproximationBangBang() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/starApproximationBangBang.kt");
}
@TestMetadata("starApproximationFlexible.kt")
public void testStarApproximationFlexible() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/starApproximationFlexible.kt");
}
@TestMetadata("tryNumberLowerBoundsBeforeUpperBounds.kt")
public void testTryNumberLowerBoundsBeforeUpperBounds() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/tryNumberLowerBoundsBeforeUpperBounds.kt");