Files
kotlin-fork/compiler/testData/resolvedCalls/arguments/namedArguments/positionedAfterNamed.txt
T
Alexander Udalov 3a8ad45dec Append newline to EOF for .txt test data files
Reverts and fixes 102f0d3
2014-10-21 03:18:27 +04:00

23 lines
364 B
Plaintext
Vendored

class A {}
class B {}
fun foo(a: A, b: B) {}
fun bar() {
<caret>foo(b = B(), A())
}
Resolved call:
Resulting descriptor: fun foo(a: A, b: B): Unit defined in root package
Explicit receiver kind = NO_EXPLICIT_RECEIVER
Dispatch receiver = NO_RECEIVER
Extension receiver = NO_RECEIVER
Value arguments mapping:
SUCCESS b : B = B()
ARGUMENT UNMAPPED: A()