testdata to fix

This commit is contained in:
Anna Kozlova
2014-08-21 18:14:27 +04:00
parent 9b5eb2418f
commit b5229e305b
3 changed files with 15 additions and 1 deletions
@@ -360,7 +360,7 @@ public class InferenceSession {
for (PsiType classType : extendsListTypes) {
classType = substituteWithInferenceVariables(mySiteSubstitutor.substitute(classType));
HashSet<InferenceVariable> dependencies = new HashSet<InferenceVariable>();
collectDependencies(classType, dependencies);
collectDependencies(classType, dependencies);//todo isProperType
if (dependencies.isEmpty() || dependencies.size() == 1 && dependencies.contains(variable)) {
added = true;
}
@@ -0,0 +1,9 @@
import java.util.List;
class Sample {
<T extends List<K>, K extends List<T>> void foo(){}
{
foo();
}
}
@@ -57,6 +57,11 @@ public class GraphInferenceHighlightingTest extends LightDaemonAnalyzerTestCase
doTest();
}
@Bombed(day = 30, month = Calendar.AUGUST)
public void testCyclicParamsDependency() throws Exception {
doTest();
}
public void testInferenceForFirstArg() throws Exception {
doTest();
}