New J2K: Fix existing test data

This commit is contained in:
Ilya Kirillov
2019-02-03 16:42:16 +03:00
committed by Ilya Kirillov
parent 7e30b9e7f5
commit f8b8d07621
27 changed files with 546 additions and 143 deletions
@@ -0,0 +1,20 @@
internal class C(private val arg1: Int, private val arg2: Int, private val arg3: Int) {
fun foo(p: Int): Int {
return p
}
constructor(arg1: Int, arg2: Int, other: C) : this(arg1, arg2, 0) {
println(foo(1) + foo(2) + other.foo(3) + staticFoo(4) + C.staticFoo(5))
}
companion object {
private fun staticFoo(p: Int): Int {
return p
}
fun staticFoo2(): Int {
return 0
}
}
}