Files
kotlin/compiler/testData/diagnostics/tests/classObjects/nestedClassInPrivateClassObject.kt
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00

15 lines
298 B
Kotlin

class A {
private default object {
class B {
class C {
default object {
fun foo() {}
}
}
}
}
}
fun f1() = A.Default.B.<!INVISIBLE_MEMBER!>C<!>
fun f2() = A.Default.B.C.<!INVISIBLE_MEMBER!>foo<!>()