[FIR] Don't record isFromVararg attribute to all properties from constructor
This commit is contained in:
+3
-1
@@ -85,7 +85,9 @@ class ValueParameter(
|
||||
modifiers.getVisibility()
|
||||
) else null
|
||||
}.apply {
|
||||
this.isFromVararg = firValueParameter.isVararg
|
||||
if (firValueParameter.isVararg) {
|
||||
this.isFromVararg = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -463,7 +463,9 @@ open class RawFirBuilder(
|
||||
|
||||
dispatchReceiverType = currentDispatchReceiverType()
|
||||
}.apply {
|
||||
isFromVararg = firParameter.isVararg
|
||||
if (firParameter.isVararg) {
|
||||
isFromVararg = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user