mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
invalid psi during inline
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
class Test {
|
||||
void foo(Object result) {
|
||||
long h = result.hashCode();
|
||||
}
|
||||
|
||||
void bar() {
|
||||
fo<caret>o(result);
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
class Test {
|
||||
void foo(Object result) {
|
||||
long h = result.hashCode();
|
||||
}
|
||||
|
||||
void bar() {
|
||||
long h = result.hashCode();
|
||||
}
|
||||
}
|
||||
@@ -276,6 +276,10 @@ public class InlineMethodTest extends LightRefactoringTestCase {
|
||||
doTestInlineThisOnly();
|
||||
}
|
||||
|
||||
public void testUnresolvedArgPassedToSameNameParameter() throws Exception {
|
||||
doTestInlineThisOnly();
|
||||
}
|
||||
|
||||
private void doTestInlineThisOnly() {
|
||||
@NonNls String fileName = "/refactoring/inlineMethod/" + getTestName(false) + ".java";
|
||||
configureByFile(fileName);
|
||||
|
||||
Reference in New Issue
Block a user