Fix false positive 'Remove redundant qualifier name' for property

#KT-31112 Fixed
This commit is contained in:
Dmitry Gridin
2019-04-19 11:07:39 +07:00
parent 673b54554c
commit 3838976083
5 changed files with 46 additions and 1 deletions
@@ -0,0 +1,11 @@
package inspector.p30879
import inspector.p30879.C.G
val <T> T.letVar: Int; get() = 0
fun test() {
C<caret>.G.letVar
}
class B { object G }
class C { object G }
@@ -0,0 +1,11 @@
package inspector.p30879
import inspector.p30879.C.G
val <T> T.letVar: Int; get() = 0
fun test() {
G.letVar
}
class B { object G }
class C { object G }
@@ -0,0 +1,13 @@
// PROBLEM: none
package inspector.p30879
import inspector.p30879.B.G
val <T> T.letVar: Int; get() = 0
fun test() {
C<caret>.G.letVar
}
class B { object G }
class C { object G }