inference: allow child session inference if containing method is not generics

This commit is contained in:
Anna.Kozlova
2018-10-19 17:52:43 +02:00
parent 11fd315bc5
commit 9aa64b30d9
7 changed files with 30 additions and 6 deletions
@@ -0,0 +1,12 @@
// "Add explicit type arguments" "true"
import java.util.*;
class MyTest {
void foo(List<String> list1, List<String> list2) {}
void bar() {
foo(Collections.<String>singletonList("x"), unresolved());
}
}
@@ -0,0 +1,12 @@
// "Add explicit type arguments" "true"
import java.util.*;
class MyTest {
void foo(List<String> list1, List<String> list2) {}
void bar() {
foo(Collections.single<caret>tonList("x"), unresolved());
}
}