478352b7e7
#KT-15951 Fixed
22 lines
461 B
Kotlin
Vendored
22 lines
461 B
Kotlin
Vendored
// KT-15951 Callable reference to class constructor from object is not resolved
|
|
|
|
object A {
|
|
class Wrapper
|
|
}
|
|
|
|
class Outer {
|
|
companion object {
|
|
class Wrapper
|
|
}
|
|
}
|
|
|
|
fun test() {
|
|
A::Wrapper
|
|
(A)::<!UNRESOLVED_REFERENCE!>Wrapper<!>
|
|
|
|
Outer.Companion::Wrapper
|
|
(Outer.Companion)::<!UNRESOLVED_REFERENCE!>Wrapper<!>
|
|
<!UNUSED_EXPRESSION!>Outer::<!UNRESOLVED_REFERENCE!>Wrapper<!><!>
|
|
(Outer)::<!UNRESOLVED_REFERENCE!>Wrapper<!>
|
|
}
|