Fix false positive "Redundant qualifier name" for functions with a receiver
#KT-30879 Fixed
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
import B.G
|
||||
|
||||
fun test() {
|
||||
<caret>B.G.let { it }
|
||||
}
|
||||
|
||||
class B {
|
||||
object G
|
||||
}
|
||||
|
||||
class C {
|
||||
object G
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
import B.G
|
||||
|
||||
fun test() {
|
||||
G.let { it }
|
||||
}
|
||||
|
||||
class B {
|
||||
object G
|
||||
}
|
||||
|
||||
class C {
|
||||
object G
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
// PROBLEM: none
|
||||
// WITH_RUNTIME
|
||||
|
||||
import C.G
|
||||
|
||||
fun test() {
|
||||
<caret>B.G.let { it }
|
||||
}
|
||||
|
||||
class B {
|
||||
object G
|
||||
}
|
||||
|
||||
class C {
|
||||
object G
|
||||
}
|
||||
Reference in New Issue
Block a user