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