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 conditional and null-coalescing handling in parameter extraction #18640

Merged
merged 1 commit into from
Oct 29, 2019

Conversation

roji
Copy link
Member

@roji roji commented Oct 29, 2019

Don't visit conditional true or false nodes as appropriate if test evalutes to constant.
Also don't visit right-hand side of null-coalescing expression if left-hand side evaluates to non-null.

Fixes #17942
Fixes #13859

@roji roji requested review from smitpatel and maumar October 29, 2019 18:19
@roji
Copy link
Member Author

roji commented Oct 29, 2019

/cc @Pilchie

@roji roji force-pushed the ConditionalEvaluation branch from 2ceddf5 to c059579 Compare October 29, 2019 18:44
@roji roji force-pushed the ConditionalEvaluation branch from c059579 to 0cb231a Compare October 29, 2019 21:01
@roji roji merged commit d28b941 into release/3.1 Oct 29, 2019
@roji roji deleted the ConditionalEvaluation branch October 29, 2019 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants