Skip to content

Conversation

@da-woods
Copy link
Contributor

Instead, create a scope to represent the variables that need to be copied at the start/end of the loop, and define special entries that shadow them.

Instead, create a scope to represent the variables that need
to be copied at the start/end of the loop, and define
special entries that shadow them.

self.modified_entries.append((entry, entry.cname))
code.putln("%s = %s;" % (cname, entry.cname))
entry.cname = cname
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's mostly to avoid this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant