fun foo(s: String, x: X, k: Int): Boolean { return x.k + s.length - k > 0 } class X(val k: Int) fun test() { foo("1", X(0), 2) }