Files
kotlin-fork/compiler/testData/resolvedCalls/secondaryConstructors/overloadDefault.txt
T
2020-02-13 11:15:58 +03:00

26 lines
461 B
Plaintext
Vendored

class A {
constructor(x: Int) {
}
constructor(x: Double, y: String = "abc") {
}
}
val v = <caret>A(1.0)
Resolved call:
Candidate descriptor: constructor A(x: Double, y: String = ...) defined in A
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