Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addMissingDeconstructionComponents/afterWithComments1.java
Andrey Cherkasov 8d8c2f125d IJ-CR-98117 Fixes after review
IDEA-298829

GitOrigin-RevId: 973ebc9ea23341ac96d42fe79385d6fb32679f36
2022-11-15 16:51:00 +00:00

12 lines
257 B
Java

// "Add missing nested patterns" "true-preview"
class Main {
void foo(Object obj) {
switch (obj) {
case Point(/*blah blah blah*/double x, double y, double z) -> {}
default -> {}
}
}
record Point(double x, double y, double z) {}
}