bug fixed: do not substitute type parameters twice

through final argument check
This commit is contained in:
Svetlana Isakova
2013-09-03 19:50:00 +04:00
parent a49dcc0dd4
commit b5e6568726
3 changed files with 21 additions and 10 deletions
@@ -2820,6 +2820,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/inference/noInformationForParameter.kt");
}
@TestMetadata("opposite.kt")
public void testOpposite() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/opposite.kt");
}
@TestMetadata("possibleCycleOnConstraints.kt")
public void testPossibleCycleOnConstraints() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/possibleCycleOnConstraints.kt");