Files
kotlin-fork/idea/testData/shortenRefs/shortCompanionRefInsideShortenedCall.kt
T
2017-04-24 20:52:11 +03:00

12 lines
253 B
Kotlin
Vendored

// REMOVE_COMPANION_REF
package test
class CompanionExtraPlain { companion object { val cmpVal = 1 } }
fun wrap(p: Int) = p + 1
class Dome {
fun refer() {
<selection>test.wrap(test.CompanionExtraPlain.Companion.cmpVal)</selection>
}
}