Files
kotlin-fork/compiler/testData/resolvedCalls/secondaryConstructors/overloadNamed.txt
T
2015-03-11 17:45:23 +03:00

24 lines
377 B
Plaintext

class A {
constructor(x: Int) {
}
constructor(x: Double, y: String = "abc") {
}
}
<caret>A(x=1.0)
Resolved call:
Resulting descriptor: constructor A(x: Double, y: String = ...) defined in A
Explicit receiver kind = NO_EXPLICIT_RECEIVER
Dispatch receiver = NO_RECEIVER
Extension receiver = NO_RECEIVER
Value arguments mapping:
SUCCESS x : Double = 1.0