Non-imported extensions from different packages do not shadow each other
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
package ppp
|
||||
|
||||
class C {
|
||||
fun foo() {
|
||||
xx<caret>
|
||||
}
|
||||
}
|
||||
|
||||
// EXIST: { lookupString: "xxx", itemText: "xxx", tailText: "() for Any in dependency1", typeText: "Int" }
|
||||
// EXIST: { lookupString: "xxx", itemText: "xxx", tailText: "() for C in dependency2", typeText: "Int" }
|
||||
// NOTHING_ELSE
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package dependency1
|
||||
|
||||
fun Any.xxx(): Int = 1
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package dependency2
|
||||
|
||||
fun ppp.C.xxx(): Int = 1
|
||||
Reference in New Issue
Block a user