choose the most specific candidate after type inference

This commit is contained in:
Svetlana Isakova
2012-08-06 16:37:48 +04:00
parent b24509577c
commit 679a678e7c
3 changed files with 27 additions and 9 deletions
@@ -1309,6 +1309,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/inference/mapFunction.kt");
}
@TestMetadata("mostSpecificAfterInference.kt")
public void testMostSpecificAfterInference() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/mostSpecificAfterInference.kt");
}
@TestMetadata("NoInferenceFromDeclaredBounds.kt")
public void testNoInferenceFromDeclaredBounds() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/NoInferenceFromDeclaredBounds.kt");