mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 18:20:52 +07:00
10 lines
208 B
Java
10 lines
208 B
Java
// "Remove redundant nested patterns" "true-preview"
|
|
class Main {
|
|
void foo(Object obj) {
|
|
if (obj instanceof Point(double w, double x)) {
|
|
}
|
|
}
|
|
|
|
record Point(double x, double y) {}
|
|
}
|