mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-20 13:31:28 +07:00
[java-highlighting] IDEA-325916 Get rid of deconstruction patterns with pattern variables.
Clean tests GitOrigin-RevId: ca1094fd7060754a17d1a18c68c66fed4bc0bbb4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f61c8612f9
commit
b5a82c4c70
@@ -1,7 +1,7 @@
|
||||
record R(int x, int y){}
|
||||
class Test{
|
||||
void foo(Object o) {
|
||||
if (o instanceof R(int w, int c) s){
|
||||
if (o instanceof R(int w, int c)){
|
||||
System.out.println(w<caret>);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
record R(int x, int y){}
|
||||
class Test{
|
||||
void foo(Object o) {
|
||||
if (o instanceof R(int <caret>w, int c) s){
|
||||
if (o instanceof R(int <caret>w, int c)){
|
||||
System.out.println(w);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
record R(int x, int y){}
|
||||
class Test{
|
||||
void foo(Object o) {
|
||||
if (o instanceof R(int w, int c) s){
|
||||
System.out.println(s<caret>);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
record R(int x, int y){}
|
||||
class Test{
|
||||
void foo(Object o) {
|
||||
if (o instanceof R(int w, int c) <caret>s){
|
||||
System.out.println(s);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user