use TypeCheckingProcedure for generating constraints

(in ConstraintSystemImpl)
This commit is contained in:
Svetlana Isakova
2013-02-27 21:00:40 +04:00
parent 871caaaa2d
commit 0530df6f7b
13 changed files with 202 additions and 201 deletions
@@ -2007,6 +2007,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError/namedFun.kt");
}
@TestMetadata("noTypeParamsInReturnType.kt")
public void testNoTypeParamsInReturnType() throws Exception {
doTest("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError/noTypeParamsInReturnType.kt");
}
@TestMetadata("typeReferenceError.kt")
public void testTypeReferenceError() throws Exception {
doTest("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError/typeReferenceError.kt");
@@ -2168,6 +2173,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/diagnostics/tests/inference/regressions"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("compareBy.kt")
public void testCompareBy() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/regressions/compareBy.kt");
}
@TestMetadata("kt1029.kt")
public void testKt1029() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt1029.kt");