mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 18:50:59 +07:00
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) {}
|
|
}
|