mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
IDEA-298829 GitOrigin-RevId: 7a7da446d502a89ba3040e3558929bd918111de9
12 lines
244 B
Java
12 lines
244 B
Java
// "Add missing nested pattern" "true-preview"
|
|
class Main {
|
|
void foo(Object obj) {
|
|
switch (obj) {
|
|
case Point(double x, double y) -> {}
|
|
default -> {}
|
|
}
|
|
}
|
|
|
|
record Point(double x, double y) {}
|
|
}
|