Skip to content

Conversation

gribozavr
Copy link
Contributor

Other AST nodes don't have such functionality now, and it was removed from them previously. Not having a default implementation means that users of ASTVisitor have to either explicitly write a catch-all default, or handle all cases. Making this decision consciously is a good practice.

Other AST nodes don't have such functionality now, and it was removed
from them previously. Not having a default implementation means that
users of ASTVisitor have to either explicitly write a catch-all default,
or handle all cases. Making this decision consciously is a good
practice.
@gribozavr
Copy link
Contributor Author

@swift-ci Please smoke test and merge

@swift-ci swift-ci merged commit 9de3db9 into swiftlang:master Mar 12, 2020
@gribozavr gribozavr deleted the astvisitor branch March 12, 2020 12:58
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