24 lines
453 B
Kotlin
Vendored
24 lines
453 B
Kotlin
Vendored
// import all members from companion object
|
|
package c
|
|
|
|
import c.A.Companion.B
|
|
import c.<!CANNOT_ALL_UNDER_IMPORT_FROM_SINGLETON!>M<!>.*
|
|
|
|
fun foo() {
|
|
val <!UNUSED_VARIABLE!>b<!>: B = B()
|
|
var <!UNUSED_VARIABLE!>r<!>: <!UNRESOLVED_REFERENCE!>R<!> = <!UNRESOLVED_REFERENCE!>R<!>()
|
|
}
|
|
|
|
class A() {
|
|
companion object {
|
|
class B() {
|
|
companion object {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
object M {
|
|
fun foo() {}
|
|
class R() {}
|
|
} |