mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
IDEA-298829 GitOrigin-RevId: 7a7da446d502a89ba3040e3558929bd918111de9
10 lines
193 B
Java
10 lines
193 B
Java
// "Add missing nested patterns" "true-preview"
|
|
class Main {
|
|
void foo(Rec<?, ?> obj) {
|
|
if (obj instanceof Rec<?, ?>(<caret>)) {
|
|
}
|
|
}
|
|
|
|
record Rec<T, U>(T x, U y) {}
|
|
}
|