mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
inference: allow child session inference if containing method is not generics
This commit is contained in:
+12
@@ -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());
|
||||
}
|
||||
}
|
||||
+12
@@ -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());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user