861c9b8e45
fix unmute passing
14 lines
272 B
Kotlin
Vendored
14 lines
272 B
Kotlin
Vendored
// FIR_COMPARISON
|
|
|
|
object A {
|
|
class B
|
|
fun foo() = 1
|
|
object Bar {}
|
|
}
|
|
|
|
fun <T> test(a: T) {
|
|
val c = (a as A)
|
|
// TODO: report "nested class accessed via instance reference"
|
|
c.<error descr="[UNRESOLVED_REFERENCE] Unresolved reference: B">B</error>()
|
|
}
|