Files
kotlin/idea/testData/decompiler/decompiledText/ClassWithClassObject/ClassWithClassObject.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

35 lines
436 B
Kotlin

package test
class ClassWithClassObject {
fun f() {
}
default object {
fun f() {
}
fun Int.f() {
}
private fun privateFun() {
}
val a: A = A()
public var b: B = B()
val Int.g: Int
get() = this + 2
fun <T, K, G> complexFun(a: T, b: K, c: G): G {
throw AssertionError()
}
}
}
class B {
}
class A {
}