Fixed ShortenReferences for the case of extension for object
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package dependency
|
||||
|
||||
object AnObject
|
||||
|
||||
fun AnObject.extFun(){}
|
||||
@@ -0,0 +1,5 @@
|
||||
import dependency.extFun
|
||||
|
||||
fun foo() {
|
||||
<selection>dependency.AnObject.extFun()</selection>
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import dependency.AnObject
|
||||
import dependency.extFun
|
||||
|
||||
fun foo() {
|
||||
AnObject.extFun()
|
||||
}
|
||||
Reference in New Issue
Block a user