mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
13 lines
292 B
Java
13 lines
292 B
Java
// "Remove pattern variable" "false"
|
|
class Test {
|
|
record Point(double x, double y) {}
|
|
|
|
record Rect(Point point1, Point point2) {}
|
|
|
|
void foo(Object obj) {
|
|
switch (obj) {
|
|
case Rect(Point(double x, double y<caret>) point1, Point point2) rect -> {}
|
|
default -> {}
|
|
}
|
|
}
|
|
} |