mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
method references: fix type to search (site substitution) for ReferenceType::Identifier references, where ReferenceType is raw (IDEA-135792)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
class Main {
|
||||
public static void main(String[] args) {
|
||||
Stream<List<? extends Main>> listStream = new ArrayList<List<? extends Main>>().stream();
|
||||
Stream<? extends Main> l1 = listStream.flatMap(Collection::stream);
|
||||
Stream<? extends Main> l2 = listStream.flatMap(List::stream);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user