mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
13 lines
205 B
Kotlin
13 lines
205 B
Kotlin
//no nested class access via instance reference error
|
|
fun test() {
|
|
A.f(<!TYPE_MISMATCH!>""<!>)
|
|
}
|
|
|
|
class A() {
|
|
class object {
|
|
object f {
|
|
fun invoke(i: Int) = i
|
|
}
|
|
}
|
|
}
|