mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
12 lines
241 B
Java
12 lines
241 B
Java
// "Add missing nested pattern" "true-preview"
|
|
class Main {
|
|
void foo(Object obj) {
|
|
switch (obj) {
|
|
case Point(double x<caret>) -> {}
|
|
default -> {}
|
|
}
|
|
}
|
|
|
|
record Point(double x, double y) {}
|
|
}
|