blob: bbecb61d56455302cdf79bfc449e741baaaa01e7 [file] [log] [blame]
// 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)
}
}