8b0eb0488f
Add a new method `isImplicitReferenceToCompanion` to determine if the given reference is an implicit reference to a companion object. The method is needed for the rename refactoring in IJ. ^KTIJ-25863
10 lines
107 B
Kotlin
Vendored
10 lines
107 B
Kotlin
Vendored
class AA {
|
|
companion object {
|
|
fun x() = 10
|
|
}
|
|
}
|
|
fun main() {
|
|
A<caret>A.Companion.x()
|
|
}
|
|
|