addImplicitTemplateParametersToCall

fun addImplicitTemplateParametersToCall(templateParams: List<Node>, constructExpression: ConstructExpression)

Adds implicit duplicates of the TemplateParams to the implicit ConstructExpression

Parameters

templateParams
constructExpression

duplicate TemplateParameters (implicit) to preserve AST, as ConstructExpression uses AST as well as the VariableDeclaration/NewExpression