aboutsummaryrefslogtreecommitdiff
path: root/tests/expected/unused_macro_arg.nes
Commit message (Collapse)AuthorAgeFilesLines
* Preserve the 'accessed' member on macro argumentsMiquel Sabaté Solà2026-07-071-0/+0
Macro arguments get tampered with every time a new call has to be bundled. Deep down this is done by cloning the underlying object, but this resets any increase on the 'accessed' member, giving always the impression that macro arguments are never accessed. Fix this by at least preserving this member when cloning a macro argument. Note that this is neither the most elegant solution, and probably not the most correct. As in, it will probably get into a non-precise count after some calls. But at least it will be a non-zero value, which is more than enough to what this is actually used for. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>