FIR IDE: introduce KtFirConstructorDelegationReference

This commit is contained in:
Ilya Kirillov
2020-07-13 15:56:11 +03:00
parent 0870ded054
commit 7d8ef5c7a2
7 changed files with 93 additions and 0 deletions
@@ -0,0 +1,6 @@
class A(a: Int) {
constructor() : <caret>this(2)
}
// REF: (in A).A(Int)
@@ -0,0 +1,8 @@
class A(a: Int) {
constructor(b: String) : this(2)
constructor() : <caret>this("2")
}
// REF: (in A).A(String)