[FIR] Don't record isFromVararg attribute to all properties from constructor

This commit is contained in:
Dmitriy Novozhilov
2021-03-16 18:41:42 +03:00
parent 094287741c
commit 3b6d3e5a08
2 changed files with 6 additions and 2 deletions
@@ -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
}
}
}