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

Assignment with absent target #81

Merged
merged 7 commits into from
Sep 5, 2021
Merged

Assignment with absent target #81

merged 7 commits into from
Sep 5, 2021

Conversation

magicant
Copy link
Owner

@magicant magicant commented Sep 4, 2021

  • Implement assignment
  • Document new functions
  • Add read_only_location to ErrorCause::ReadOnly
  • Let expand_value return an expansion error

@magicant magicant self-assigned this Sep 4, 2021
@magicant magicant mentioned this pull request Sep 4, 2021
23 tasks
This commit only passes the location from VariableSet::assign to
Env::handle. The error message does not yet reflect the location.
It should return errors in yash_semantics::expansion::Error so that
callers do not have to handle error kinds that do not actually happen.
@magicant magicant marked this pull request as ready for review September 5, 2021 05:57
@magicant magicant merged commit f0bc1e0 into master Sep 5, 2021
@magicant magicant deleted the assign branch September 5, 2021 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant