Files
kotlin-fork/idea/testData/inspectionsLocal/redundantCompanionReference/companionDoubleNested.kt
T
Mikhail Glukhikh ab973b2ff0 Fix several false positives and make safer "redundant companion ref"
Don't report it on an import directive #KT-23520 Fixed
Don't report it if companion nested class is referenced #KT-23519 Fixed
Check companion reference both by descriptor and by name
2018-04-03 17:45:14 +03:00

11 lines
178 B
Kotlin
Vendored

// PROBLEM: none
class Owner {
companion object {
class InCompanion {
class Nested
}
}
}
val y = Owner.<caret>Companion.InCompanion.Nested()