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:
idea/testData/refactoring/inline/inlineVariableOrProperty/explicateTypeArgument/DeeperNestedCall2.kt
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
fun foo(f: List<Int>) {}
|
||||
|
||||
fun f() {
|
||||
val v : List<Int> = ArrayList(listOf())
|
||||
foo(<caret>v)
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
fun foo(f: List<Int>) {}
|
||||
|
||||
fun f() {
|
||||
foo(ArrayList<Int>(listOf()))
|
||||
}
|
||||
Reference in New Issue
Block a user