mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
IDEA-231427 Extract method produces incompilable code when extracting expression that produces a pattern variable
GitOrigin-RevId: 3fbd29e6543e21af934c4de8899bd6ed5bda6965
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f22fa4063b
commit
186596b687
@@ -0,0 +1,7 @@
|
||||
class X {
|
||||
void test(Object obj) {
|
||||
if (<selection>obj instanceof String s && s.length() > 5</selection>) {
|
||||
System.out.println("found");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user