introduce functional parameter: exclude only selection range from used parameters check as for functional interfaces the whole code block is treated as selection's parent (IDEA-154299)

This commit is contained in:
Anna.Kozlova
2016-09-27 09:22:01 +02:00
parent 31927c0d07
commit 9863deb8d9
6 changed files with 82 additions and 0 deletions
@@ -70,6 +70,10 @@ public class IntroduceFunctionalParameterTest extends LightRefactoringTestCase
doTest();
}
public void testUsedParametersOutsideSelectedFragment() throws Exception {
doTest();
}
@NotNull
@Override
protected String getTestDataPath() {