Fix TypeAliasConstructorDescriptor's to create only once when required
Some IDE features relates onto that same descriptors will remain same between resolve calls Fix it to be true for TypeAliasConstructorDescriptor's #KT-16265 fixed
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
class A(val a: Int) {
|
||||
constructor(val b: String) : this(b.toInt())
|
||||
}
|
||||
|
||||
typealias TA = A
|
||||
|
||||
fun usage() {
|
||||
val x = TA(<caret>)
|
||||
}
|
||||
|
||||
/*
|
||||
Text: (<highlight>a: Int</highlight>), Disabled: false, Strikeout: false, Green: false
|
||||
Text: (<highlight>b: String</highlight>), Disabled: false, Strikeout: false, Green: false
|
||||
*/
|
||||
Reference in New Issue
Block a user