Closed antis81 closed 3 years ago
I think what you really want is for labels to always be constant across one pass. So you should not be allowed to reassign labels. I think this is safer and has no big downside...
Mmh… yeah, even more this is checked with the "final" flag now (some corner cases remain).
In some cases it can be helpful to define macro parameters read-only (const) and error out when trying a write operation. Here's a draft of what it could look like:
Also "assignments" could benefit from that: