Files
kotlin-fork/j2k/testData/fileOrElement/constructors/chain.kt
T
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

23 lines
408 B
Kotlin

fun C(arg1: Int, arg2: Int): C {
val __ = C(arg1, arg2, 0)
System.out.println()
return __
}
fun C(arg1: Int): C {
val __ = C(arg1, 0)
System.out.println()
return __
}
class C(arg1: Int, arg2: Int, arg3: Int)
public class User {
default object {
public fun main() {
val c1 = C(1, 2, 3)
val c2 = C(5, 6)
val c3 = C(7)
}
}
}