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

[Core] Move parent instanceof Node check on BetterNodeFinder::findParentType() inside do { } while condition #2190

Merged
merged 2 commits into from
Apr 28, 2022

Conversation

samsonasik
Copy link
Member

@samsonasik samsonasik commented Apr 28, 2022

The instanceof Node already exists before do {} while, updated to use type control on while

@samsonasik samsonasik changed the title [Core] Remove parent instanceof Node check on BetterNodeFinder::findParentType() [Core] Move parent instanceof Node check on BetterNodeFinder::findParentType() inside do { } while Apr 28, 2022
@samsonasik
Copy link
Member Author

I moved to inside of do {} while stmts so check in while condition is with type control.

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba it is ready for review.

@samsonasik samsonasik changed the title [Core] Move parent instanceof Node check on BetterNodeFinder::findParentType() inside do { } while [Core] Move parent instanceof Node check on BetterNodeFinder::findParentType() inside do { } while condition Apr 28, 2022
@TomasVotruba TomasVotruba merged commit c411410 into main Apr 28, 2022
@TomasVotruba TomasVotruba deleted the remo- branch April 28, 2022 21:48
@TomasVotruba
Copy link
Member

👍

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