Refactoring: AbstractResolvedCallsTest
Render resolved call to a separate file
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
// !ONLY_ARGUMENTS
|
||||
// !CALL: foo
|
||||
// !ARG_1: A() = ArgumentMatch(a : A, SUCCESS)
|
||||
// !ARG_2: "" = ArgumentMatch(s : String, SUCCESS)
|
||||
|
||||
class A {}
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// !CALL: foo
|
||||
|
||||
class A {}
|
||||
|
||||
fun foo(a: A) {}
|
||||
fun foo(a: A, s: String) {}
|
||||
fun foo(a: A, any: Any) {}
|
||||
|
||||
fun bar() {
|
||||
foo(A(), "")
|
||||
}
|
||||
|
||||
|
||||
Resolved call:
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
Receiver argument = NO_RECEIVER
|
||||
|
||||
Value arguments mapping:
|
||||
|
||||
SUCCESS a : A = A()
|
||||
SUCCESS s : String = ""
|
||||
Reference in New Issue
Block a user