Extract Function: Fix extraction of reference to class object property
#KT-5053 Fixed
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
// SIBLING:
|
||||
class MyClass {
|
||||
fun test() {
|
||||
unit()
|
||||
}
|
||||
|
||||
public class P {
|
||||
class object {
|
||||
val a = 1
|
||||
fun foo() = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun unit() {
|
||||
MyClass.P.foo()
|
||||
MyClass.P.a
|
||||
}
|
||||
Reference in New Issue
Block a user