invalid psi during inline

This commit is contained in:
Anna Kozlova
2015-07-09 12:04:36 +03:00
parent 8a45fcad30
commit 19aee02b2c
4 changed files with 23 additions and 1 deletions
@@ -0,0 +1,9 @@
class Test {
void foo(Object result) {
long h = result.hashCode();
}
void bar() {
fo<caret>o(result);
}
}
@@ -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);