KT-4137: Verify error
#KT-4137 Fixed
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user