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 implicit declarations for undeclared variables used in assignment expressions #42

Open
stephen-zhao opened this issue Oct 21, 2017 · 0 comments

Comments

@stephen-zhao
Copy link
Owner

e.g.
let y := x + 8;
should not throw a "not in context" error. The x should be implicitly declared.

Moreover, e.g.
let z := x + 3;
should refer to the same x as the previous "let y..." expression, so the x should be implicitly declared in the surrounding scope.

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

No branches or pull requests

1 participant