e3882e2dfb
#KT-4137 Fixed
13 lines
179 B
Kotlin
13 lines
179 B
Kotlin
open class A(val s: Int) {
|
|
|
|
}
|
|
|
|
fun Int.foo(s: Int): Int {
|
|
return this + s
|
|
}
|
|
|
|
open class B : A({ 1 foo 2} ())
|
|
|
|
fun box(): String {
|
|
return if (B().s == 3) "OK" else "Fail"
|
|
} |