This commit is contained in:
Anna Kozlova
2014-02-24 15:23:10 +01:00
parent f1b256f416
commit e0ce9deea3
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
class Main {
{
foo(bar(String.class));
}
<T extends String> T bar(Class<T> cf) {
return null;
}
<K extends String> K foo(K vo) {
return null;
}
}

View File

@@ -152,6 +152,10 @@ public class GraphInferenceHighlightingTest extends LightDaemonAnalyzerTestCase
doTest();
}
public void testNestedCalls1() throws Exception {
doTest();
}
private void doTest() throws Exception {
doTest(false);
}