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
{{ message }}
This repository was archived by the owner on Aug 13, 2025. It is now read-only.
The concatenation operator (+) as well as the indexing operator need to convert arguments to string. This may involve calling user-defined .toString() method.
The plan:
add a flag to devs_activation saying it's an implicit toString frame
when .toString() needs to be called move back pc by one, copy any stack items, attach them to the activation frame for toString(), reset stack to zero
upon return from toString frame - restore stack, in the calling opcode skip stuff based on the toString flag somehow
Alternative - STMT2_PLUS - stack is always empty
Alternative currently preferred - don't call .toString() implicitly and have the compiler warn about .toString()