Inline: more accurate handling of type arguments

Partial revert of b8cc7c2ca6
Soften requirements in remove type arguments intention in this mode
So #KT-17622 Fixed
Related to KT-17623
This commit is contained in:
Mikhail Glukhikh
2017-05-26 17:53:15 +03:00
parent 38d6c597a3
commit 9c15db93d9
4 changed files with 39 additions and 10 deletions
@@ -931,6 +931,12 @@ public class InlineTestGenerated extends AbstractInlineTest {
doTest(fileName);
}
@TestMetadata("DeeperNestedCall2.kt")
public void testDeeperNestedCall2() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/refactoring/inline/inlineVariableOrProperty/explicateTypeArgument/DeeperNestedCall2.kt");
doTest(fileName);
}
@TestMetadata("EnoughDontExplicate.kt")
public void testEnoughDontExplicate() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/refactoring/inline/inlineVariableOrProperty/explicateTypeArgument/EnoughDontExplicate.kt");