Secondary constructors delegation calls and body resolve
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
class A {
|
||||
inner class B(arg: String) {
|
||||
<caret>constructor (arg: Int): this("") {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Resolved call:
|
||||
|
||||
Resulting descriptor: constructor B(arg: String) defined in A.B
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
Dispatch receiver = Class{A}
|
||||
Extension receiver = NO_RECEIVER
|
||||
|
||||
Value arguments mapping:
|
||||
|
||||
SUCCESS arg : String = ""
|
||||
Reference in New Issue
Block a user