Secondary constructors resolve
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
class A<T> {
|
||||
constructor(x: T) {}
|
||||
}
|
||||
|
||||
val y = <caret>A(1)
|
||||
|
||||
|
||||
Resolved call:
|
||||
|
||||
Candidate descriptor: constructor A<T>(x: T) defined in A
|
||||
Resulting descriptor: constructor A<T>(x: Int) defined in A
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
Dispatch receiver = NO_RECEIVER
|
||||
Extension receiver = NO_RECEIVER
|
||||
|
||||
Value arguments mapping:
|
||||
|
||||
SUCCESS x : Int = 1
|
||||
Reference in New Issue
Block a user