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
8 lines
91 B
Kotlin
Vendored
8 lines
91 B
Kotlin
Vendored
class AA {
|
|
companion object {
|
|
fun x() = 10
|
|
}
|
|
}
|
|
fun main() {
|
|
A<caret>A
|
|
} |