Render candidate and resulting descriptors in resolved call tests

This commit is contained in:
Svetlana Isakova
2014-07-10 16:33:50 +04:00
parent bff579dd1e
commit 11ea241efb
43 changed files with 157 additions and 42 deletions
@@ -13,6 +13,8 @@ fun <T, R> with(receiver: T, f: T.() -> R) : R = throw Exception()
Resolved call:
Resulting descriptor: fun Int.invoke(): Unit
Explicit receiver kind = THIS_OBJECT
This object = f
Receiver argument = Int
This object = f {Foo}
Receiver argument = IntExt{fun Int.<anonymous>(): Unit}