Extract Function: Fix replacement of references with class receivers (objects, class objects, enum classes)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// SIBLING:
|
||||
class MyClass {
|
||||
fun test() {
|
||||
<selection>P.foo()
|
||||
P.a</selection>
|
||||
}
|
||||
|
||||
object P {
|
||||
val a = 1
|
||||
fun foo() = 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user