Extract Function: Fix extraction of reference to class object property

#KT-5053 Fixed
This commit is contained in:
Alexey Sedunov
2014-05-22 18:24:39 +04:00
parent 1a7e6eab61
commit 3a75aa27f0
4 changed files with 59 additions and 12 deletions
@@ -0,0 +1,14 @@
// SIBLING:
class MyClass {
fun test() {
<selection>P.foo()
P.a</selection>
}
public class P {
class object {
val a = 1
fun foo() = 1
}
}
}