KT-2514 Type inference fails when using extension function literal

(check for bounds when inference is not complete added)
 #KT-2514 fixed
This commit is contained in:
Svetlana Isakova
2012-08-03 17:51:05 +04:00
parent 492d4da56d
commit 036ce3c2e1
4 changed files with 51 additions and 21 deletions
@@ -1375,6 +1375,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt2324.kt");
}
@TestMetadata("kt2514.kt")
public void testKt2514() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt2514.kt");
}
@TestMetadata("kt702.kt")
public void testKt702() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt702.kt");