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 in IsFullyKnown. #69

Merged
merged 3 commits into from
Mar 31, 2021
Merged

Fix panic in IsFullyKnown. #69

merged 3 commits into from
Mar 31, 2021

Conversation

paddycarver
Copy link
Contributor

Calling Value.IsFullyKnown would panic if the type of the value was an
aggregate type (List, Set, Tuple, Map, or Object) and if that value
itself was null.

This adds tests to reproduce those panics and a minor change to
IsFullyKnown that prevents the panics.

Calling Value.IsFullyKnown would panic if the type of the value was an
aggregate type (List, Set, Tuple, Map, or Object) and if that value
itself was null.

This adds tests to reproduce those panics and a minor change to
IsFullyKnown that prevents the panics.
@paddycarver paddycarver added the bug Something isn't working label Mar 25, 2021
@paddycarver paddycarver requested a review from a team March 25, 2021 09:16
@paddycarver paddycarver merged commit dbaad37 into main Mar 31, 2021
@paddycarver paddycarver deleted the paddy_fullyknown_panic branch March 31, 2021 15:42
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants