Added tests for argument mapping
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// !ONLY_ARGUMENTS
|
||||
// !CALL: foo
|
||||
// !ARG_1: emptyList() = ArgumentMatch(t : MutableList<???>, SUCCESS)
|
||||
|
||||
class A {}
|
||||
|
||||
fun <T> foo(t: T) {}
|
||||
|
||||
fun <T> emptyList(): MutableList<T> = throw Exception()
|
||||
|
||||
fun bar() {
|
||||
foo(emptyList())
|
||||
}
|
||||
Reference in New Issue
Block a user