CANNOT_INFER_PARAMETER_TYPE reporting improvement

This commit is contained in:
Svetlana Isakova
2012-12-24 15:26:28 +04:00
parent 2077faa76a
commit 19e6b02da8
3 changed files with 25 additions and 1 deletions
@@ -2265,6 +2265,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/diagnostics/tests/inference/reportingImprovements"), "kt", true);
}
@TestMetadata("cannotInferParameterTypeWithInference.kt")
public void testCannotInferParameterTypeWithInference() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/reportingImprovements/cannotInferParameterTypeWithInference.kt");
}
@TestMetadata("NoAmbiguityForDifferentFunctionTypes.kt")
public void testNoAmbiguityForDifferentFunctionTypes() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/reportingImprovements/NoAmbiguityForDifferentFunctionTypes.kt");