Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add special upvalue for _ENV #35

Closed
dibyendumajumdar opened this issue Sep 30, 2020 · 0 comments
Closed

Add special upvalue for _ENV #35

dibyendumajumdar opened this issue Sep 30, 2020 · 0 comments
Labels
fixed Fix implemented parser Component: Parser

Comments

@dibyendumajumdar
Copy link
Owner

Our upvalue implementation so far assumes that an upvalue references a local symbol in an enclosing function. However _ENV does not fall into this category as there is no local variable of that name in the main chunk. So we need to extend the concept of upvalue to support this special case.

@dibyendumajumdar dibyendumajumdar added the parser Component: Parser label Sep 30, 2020
dibyendumajumdar added a commit that referenced this issue Sep 30, 2020
… _ENV is not a name directly encountered necessarily
dibyendumajumdar added a commit that referenced this issue Oct 3, 2020
dibyendumajumdar added a commit that referenced this issue Oct 3, 2020
dibyendumajumdar added a commit that referenced this issue Oct 3, 2020
dibyendumajumdar added a commit that referenced this issue Oct 3, 2020
… the _ENV symbol. Also fix the storeglobal opcode
dibyendumajumdar added a commit that referenced this issue Oct 3, 2020
dibyendumajumdar added a commit that referenced this issue Oct 24, 2020
@dibyendumajumdar dibyendumajumdar added the fixed Fix implemented label Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed Fix implemented parser Component: Parser
Projects
None yet
Development

No branches or pull requests

1 participant