mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +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) {}
|
|
}
|