terralang / terra

Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.
terralang.org
Other
2.72k stars 201 forks source link

isolating changes for the for-in variable synthesis #377

Open aiverson opened 5 years ago

aiverson commented 5 years ago

I think I managed to grab all the changes for the variable synthesis and nothing else. This fixes a bug where accessing the self parameter of an iterator multiple times can cause unexpected behavior.

aiverson commented 5 years ago

This addresses #368

elliottslaughter commented 4 years ago

Here's another test I'd want to work before we merge this:

forlist4.t.txt