You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a definition wrapping function via lively.ast.capturing.rewriteToCaptureTopLevelVariables(..., {declarationWrapper: astForDeclFunc}) then simple assignments are correctly wrapped:
When using a definition wrapping function via
lively.ast.capturing.rewriteToCaptureTopLevelVariables(..., {declarationWrapper: astForDeclFunc})
then simple assignments are correctly wrapped:i = i+1
becomes_rec.i = _rec._define('i', 'assignment', _rec.i + 1, _rec);
However, expressions like
i++
ori+=1
aren't correctly identified as modifications and not wrapped.Fix that!
The text was updated successfully, but these errors were encountered: