Closed Logan-Dang closed 2 months ago
This works though:
var.totalrm = 0
for (var.i in weights) {
var.setrm = calculate1RM(weights[var.i], completedReps[var.i])
var.totalrm = var.totalrm + var.setrm
}
I see, there is no support for temporary variables getting the inc expression as of right now
if (
stateVar == null ||
stateVar.type.name !== NodeName.StateVariable && stateVar.type.name !== NodeName.VariableExpression) ||
expression == null ||
incAssignmentExpr == null
) {
assert(NodeName.IncAssignmentExpression);
}
Line of code causing the issue:
context:
happening in the playground