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

Update PruneAst to support constants of optional type #1109

Merged
merged 4 commits into from
Jan 22, 2025

Conversation

dbuduev
Copy link
Contributor

@dbuduev dbuduev commented Jan 20, 2025

This PR enables the prune function to evaluate {'b': 10}.?b as optional.of(10).

Signed-off-by: Dennis Buduev <dbuduev@users.noreply.github.com>
Signed-off-by: Dennis Buduev <dbuduev@users.noreply.github.com>
Signed-off-by: Dennis Buduev <dbuduev@users.noreply.github.com>
Signed-off-by: Dennis Buduev <dbuduev@users.noreply.github.com>
@dbuduev
Copy link
Contributor Author

dbuduev commented Jan 20, 2025

Do I need to create an issue for this?

@TristonianJones
Copy link
Collaborator

Thanks @dbuduev, no issue required. I'll give this a look.

/gcbrun

@TristonianJones TristonianJones merged commit 91fb306 into google:master Jan 22, 2025
2 checks passed
@dbuduev dbuduev deleted the prun_optional_const branch January 22, 2025 23:31
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.

2 participants