Introduce Variable: Do not insert unused variable references
#KT-7227 Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class A {
|
||||
fun test() = 1
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val a = A()
|
||||
a.test()
|
||||
|
||||
val b = <selection>a.test()</selection>
|
||||
}
|
||||
Reference in New Issue
Block a user