mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
Includes changes to decompiled text Old syntax is used in builtins and project code for now
13 lines
215 B
Kotlin
13 lines
215 B
Kotlin
//no nested class access via instance reference error
|
|
fun test() {
|
|
A.Default.f(<!TYPE_MISMATCH!>""<!>)
|
|
}
|
|
|
|
class A() {
|
|
default object {
|
|
object f {
|
|
fun invoke(i: Int) = i
|
|
}
|
|
}
|
|
}
|