ShortenReferences: cleanup code & add tests for property-function conflicts
This commit is contained in:
committed by
Dmitry Gridin
parent
917a7f572d
commit
9a2da67919
+7
@@ -0,0 +1,7 @@
|
||||
package a
|
||||
|
||||
class Goo {
|
||||
fun x() {
|
||||
foo<caret>
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package a.b
|
||||
|
||||
fun foo(i: Int) {}
|
||||
internal val Foo.foo: Int get() = 123
|
||||
class Foo {}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package a
|
||||
|
||||
import a.b.foo
|
||||
|
||||
class Goo {
|
||||
fun x() {
|
||||
foo()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user