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

Test mutiple calls to exec / handle resolve.Error #27

Merged
merged 1 commit into from
Apr 18, 2022
Merged

Conversation

jordemort
Copy link
Contributor

In #26 another change snuck in to retain the globals across multiple calls to exec, so that it could be used to define multiple things. While writing a test for this behavior, I discovered that it is possible for starlark-go's Eval to return a resolve.ErrorList, in addition to a starlark.EvalError or a syntax.Error, so I had to add handling for that as well.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
In #26 another change snuck
in to retain the globals across multiple calls to exec, so that it
could be used to define multiple things. While writing a test for this
behavor, I discovered that it is possible for starlark-go's Eval to
return a resolve.ErrorList, in addition to a starlark.EvalError or
a syntax.Error, so I had to add handling for that as well.
@jordemort jordemort merged commit dca7f06 into main Apr 18, 2022
@jordemort jordemort deleted the multiexec branch April 18, 2022 21:43
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.

None yet

1 participant