// WITH_RUNTIME class A { fun foo(s: String, n: Int): Boolean { return s.length - n/2 > 1 } fun test() { foo("1", 2) } } fun test() { with(A()) { foo("1", 2) } }