We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d96152d commit 22fb2a2Copy full SHA for 22fb2a2
test/langtools/tools/javac/patterns/declarations/SeparateCompilation.java
@@ -222,7 +222,7 @@ public class Box<T extends Integer> {
222
public pattern Box(GBox<T> o) {
223
match Box(new GBox<T>());
224
}
225
-
+
226
public static class GBox<T> {}
227
228
""");
@@ -249,7 +249,7 @@ public static class GBox<T> {}
249
public class Test {
250
public static void main(String... args) {
251
Box<Integer> l = new Box<>();
252
253
switch (l) {
254
case Box(Box.GBox<Integer> ll) -> { }
255
default -> {}
0 commit comments