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

Transversers: skip Quasi before other trees #3562

Merged
merged 1 commit into from Feb 15, 2024
Merged

Conversation

kitbellew
Copy link
Contributor

Since every Quasi tree in reality derives from one of the other types, and the declaration of a Quasi tree follows that of its parent, the case for the parent happens before the case for the quasi, and hence the quasi code is unreachable.

Since the intention was likely to exclude Quasi trees altogether, let's skip them at the beginning rather than the end.

Since every Quasi tree in reality derives from one of the other types,
and the declaration of a Quasi tree follows that of its parent, the
case for the parent happens before the case for the quasi, and hence
the quasi code is unreachable.

Since the intention was likely to exclude Quasi trees altogether, let's
skip them at the beginning rather than the end.
@kitbellew kitbellew merged commit 3a91046 into scalameta:main Feb 15, 2024
24 checks passed
@kitbellew kitbellew deleted the 3562 branch February 15, 2024 09:19
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.

None yet

2 participants