blob: adc47c875a8bfe551ffc0e7901fd32a932bc352c [file]
open class A(val s: Int) {
}
infix fun Int.foo(s: Int): Int {
return this + s
}
open class B : A({ 1 foo 2 }.let { it() })
fun box(): String {
return if (B().s == 3) "OK" else "Fail"
}