mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Java: Fixed duplicate matching for complex expressions (IDEA-188127)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
class CallChainExpression {
|
||||
String foo() {
|
||||
String s = newMethod();
|
||||
System.out.println(s);
|
||||
return s;
|
||||
}
|
||||
|
||||
private String newMethod() {
|
||||
return A.a().b().c;
|
||||
}
|
||||
|
||||
static class A {
|
||||
static A a() { return new A(); }
|
||||
A b() { return this; }
|
||||
String c = "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user