Refactoring: AbstractResolvedCallsTest

Render resolved call to a separate file
This commit is contained in:
Svetlana Isakova
2014-05-30 09:59:44 +04:00
parent b2c2e1811c
commit 29ab166e1b
77 changed files with 770 additions and 208 deletions
@@ -0,0 +1,21 @@
// !CALL: foo
fun <T> foo(t: T, l: MutableList<T>) {}
fun use(vararg a: Any?) = a
fun test(ls: MutableList<String>) {
use(foo(11, ls))
}
Resolved call:
Explicit receiver kind = NO_EXPLICIT_RECEIVER
This object = NO_RECEIVER
Receiver argument = NO_RECEIVER
Value arguments mapping:
MATCH_MODULO_UNINFERRED_TYPES t : ??? = 11
MATCH_MODULO_UNINFERRED_TYPES l : MutableList<???> = ls