mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
10 lines
190 B
Java
10 lines
190 B
Java
// "Add missing nested pattern" "false"
|
|
class Main {
|
|
void foo(Rec<?, ?> obj) {
|
|
if (obj instanceof Rec<?, ?>(int x<caret>)) {
|
|
}
|
|
}
|
|
|
|
record Rec<T, U>(T x, U y) {}
|
|
}
|