FIR IDE: Add import in case when conflicting class comes from * import
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package dependency1
|
||||
|
||||
class T
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
package dependency2
|
||||
|
||||
class T
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// FIR_COMPARISON
|
||||
package test
|
||||
|
||||
import dependency1.*
|
||||
|
||||
<selection>fun foo(t: dependency2.T) {}</selection>
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// FIR_COMPARISON
|
||||
package test
|
||||
|
||||
import dependency1.*
|
||||
import dependency2.T
|
||||
|
||||
fun foo(t: T) {}
|
||||
+2
-1
@@ -2,7 +2,8 @@
|
||||
package test
|
||||
|
||||
import dependency.*
|
||||
import dependency.T
|
||||
|
||||
class T
|
||||
|
||||
fun foo(t: dependency.T) {}
|
||||
fun foo(t: T) {}
|
||||
Reference in New Issue
Block a user