Added tests for argument mapping
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// !ONLY_ARGUMENTS
|
||||
// !CALL: foo
|
||||
// !ARG_1: 11 = ArgumentMatch(t : Comparable<out Any?>, SUCCESS)
|
||||
// !ARG_2: ls = ArgumentMatch(l : List<Comparable<out Any?>>, SUCCESS)
|
||||
|
||||
fun <T> foo(t: T, l: List<T>) {}
|
||||
|
||||
fun use(vararg a: Any?) = a
|
||||
|
||||
fun test(a: Any, ls: List<String>) {
|
||||
use(foo(11, ls))
|
||||
}
|
||||
Reference in New Issue
Block a user