mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-04 22:54:29 +07:00
IDEA-298829 GitOrigin-RevId: 7a7da446d502a89ba3040e3558929bd918111de9
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) {}
|
|
}
|