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