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

bug: If property doesn't exist on object, don't throw KeyNotFoundException #13

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

PrestonLTaylor
Copy link
Owner

The spec says to check if the descriptor is undefined when calling OrdinaryGet. Before this commit, we always tried to get the property from the internal dictionary.

This would cause internal errors, throwing a KeyNotFoundException if the property did not exist on the object.

…ption

The spec says to check if the descriptor is undefined when calling
OrdinaryGet. Before this commit, we always tried to get the property
from the internal dictionary.

This would cause internal errors, throwing a KeyNotFoundException if the
property did not exist on the object.
@PrestonLTaylor PrestonLTaylor merged commit 0976ee7 into master Apr 17, 2024
2 checks passed
@PrestonLTaylor PrestonLTaylor deleted the ordinary-get-fix branch April 17, 2024 21:28
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.

1 participant