mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-04 21:09:47 +07:00
IDEA-298829 GitOrigin-RevId: 7a7da446d502a89ba3040e3558929bd918111de9
14 lines
278 B
Java
14 lines
278 B
Java
// "Add missing nested patterns" "true-preview"
|
|
class Main {
|
|
void foo(Object obj) {
|
|
double x = 0.0;
|
|
double y = 0.0;
|
|
switch (obj) {
|
|
case Point(<caret>) -> {}
|
|
default -> {}
|
|
}
|
|
}
|
|
|
|
record Point(double x, double y) {}
|
|
}
|