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 resource dictionary value deferral removal #129

Merged

Conversation

turbolent
Copy link
Member

Fixes #128

When removing a key from the a dictionary, the value might be deferred, so properly load and return it.

@turbolent turbolent self-assigned this May 22, 2020
Copy link
Contributor

@psiemens psiemens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always another edge case! Nice fix 👍

v.modified = true

value := v.Get(inter, locationRange, keyValue)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@turbolent turbolent merged commit e53eec1 into master May 22, 2020
@turbolent turbolent deleted the bastian/fix-resource-dictionary-value-deferral-removal branch May 22, 2020 20:42
SupunS added a commit that referenced this pull request Jul 11, 2023
[v0.39] Fix checking of reference expressions involving optionals (internal #129)
SupunS added a commit that referenced this pull request Jul 12, 2023
Fix checking of reference expressions involving optionals (internal #129)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants