Skip to content

Fix to #19900 - Query/Test: add automatic null propagation for AssertQuery baselines (part1) #19902

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 13, 2020

Conversation

maumar
Copy link
Contributor

@maumar maumar commented Feb 13, 2020

Added visitor that injects Maybe methods for all non-scalar member accesses.
Also refactored Maybe methods to be more composible and so that when used manually, they don't require type arguments to be specified.

@maumar maumar force-pushed the automatic_null_propagation_part1 branch 2 times, most recently from 49fddb7 to fe9823c Compare February 13, 2020 01:44
@smitpatel
Copy link
Contributor

Typo: AssertQuery everywhere.

@maumar maumar changed the title Fix to #19900 - Query/Test: add automatic null propagation for AsserQuery baselines (part1) Fix to #19900 - Query/Test: add automatic null propagation for AssertQuery baselines (part1) Feb 13, 2020
…Query baselines (part1)

Added visitor that injects Maybe methods for all non-scalar member accesses.
Also refactored Maybe methods to be more composible and so that when used manually, they don't require type arguments to be specified.
@maumar maumar force-pushed the automatic_null_propagation_part1 branch from fe9823c to 7400943 Compare February 13, 2020 20:46
@maumar maumar merged commit 7400943 into master Feb 13, 2020
@maumar maumar deleted the automatic_null_propagation_part1 branch February 13, 2020 20:47
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants