ShortenReferences: cleanup code & add tests for property-function conflicts

This commit is contained in:
Alexander Podkhalyuzin
2019-09-20 14:07:10 -07:00
committed by Dmitry Gridin
parent 917a7f572d
commit 9a2da67919
9 changed files with 87 additions and 41 deletions
@@ -0,0 +1,7 @@
package a
class Goo {
fun x() {
foo<caret>
}
}
@@ -0,0 +1,5 @@
package a.b
fun foo(i: Int) {}
internal val Foo.foo: Int get() = 123
class Foo {}
@@ -0,0 +1,9 @@
package a
import a.b.foo
class Goo {
fun x() {
foo()
}
}