correct argument index for object that has outer this and closure arguments
#KT-1737 Fixed
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
fun box(): String {
|
||||
return object {
|
||||
fun foo(): String {
|
||||
val f = {}
|
||||
object : Runnable {
|
||||
public override fun run() {
|
||||
f()
|
||||
}
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
}.foo()
|
||||
}
|
||||
Reference in New Issue
Block a user