Fix KNPE in "introduce variable", add some name conflict introduce tests
So #KT-21530 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// EXTRACTION_TARGET: property with initializer
|
||||
|
||||
fun test() = "123"
|
||||
|
||||
val f = <selection>test()</selection> + "456"
|
||||
val x = test()
|
||||
@@ -0,0 +1,8 @@
|
||||
// EXTRACTION_TARGET: property with initializer
|
||||
|
||||
fun test() = "123"
|
||||
|
||||
private val s = test()
|
||||
|
||||
val f = s + "456"
|
||||
val x = s
|
||||
Reference in New Issue
Block a user