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

[Fix] Panic on unknown variable. #27990

Merged
merged 3 commits into from
Jun 10, 2024

Conversation

d0cd
Copy link
Collaborator

@d0cd d0cd commented Jun 9, 2024

Type inference expects all variables to be known.
However, this assumption is violated if a user defines a program with an unknown variable.
This PR implements graceful error handling for this case and closes #27989.

@evan-schott evan-schott merged commit 4a41ff2 into mainnet Jun 10, 2024
13 checks passed
@evan-schott evan-schott deleted the fix/unknown-variable-error-reporting branch June 10, 2024 22:51
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.

[Compiler Panicked Bug Error using Leo Language]
2 participants