Skip to content

updates emit to work with scoped vars #8

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

matthewkastor
Copy link

These updates are related to refactoror/SelBlocks#19 You'll need them in order to run all the preexisting and new tests for SelBlocks that are in that branch.

Since storedVars has to be block scoped now, emit and others access
storedVarsGlobal to do the same thing they used to.

Also, evalWithVars was defined twice in here, in exactly the same way,
so I removed one of them.

since storedVars has to be block scoped now, emit and others access
storedVarsGlobal to do the same thing they used to.

Also, evalWithVars was defined twice in here, in exactly the same way,
so I removed one of them.
I forgot to add this in earlier. storedVarsGlobal only exists in a dev
branch of SelBlocks. With this code in place SelBench will continue to
work as it did before.
This didn't come up in testing selbench because there isn't a test for
deleteVar.
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