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

Globals #41

Closed
willtebbutt opened this issue Nov 13, 2023 · 2 comments
Closed

Globals #41

willtebbutt opened this issue Nov 13, 2023 · 2 comments

Comments

@willtebbutt
Copy link
Member

What are the options here?

@yebai
Copy link
Contributor

yebai commented Nov 15, 2023

For a start, I think we can detect the usage of global variables; then, we can insert a guard on the tape and error if the value has changed, reminiscent of how we catch control flow changes.

@willtebbutt
Copy link
Member Author

This is actually resolved now. If a global is constant, we just grab it. If it's not constant, we validate that its value does not change between runs.

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

No branches or pull requests

2 participants