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

[SR-11591] SyntaxVisitor not visiting nodes as expected #414

Open
swift-ci opened this issue Oct 9, 2019 · 0 comments
Open

[SR-11591] SyntaxVisitor not visiting nodes as expected #414

swift-ci opened this issue Oct 9, 2019 · 0 comments
Labels
bug

Comments

@swift-ci
Copy link
Contributor

@swift-ci swift-ci commented Oct 9, 2019

Previous ID SR-11591
Radar None
Original Reporter fdiaz (JIRA User)
Type Bug

Attachment: Download

Environment

MacOS 10.14.6, Xcode 10.3

Additional Detail from JIRA
Votes 1
Component/s SwiftSyntax
Labels Bug
Assignee None
Priority Medium

md5: 6740206789e6a4fdbe77197f956dbdb8

Issue Description:

The expectation is that SwiftRewriter and SwiftVisitor would behave exactly the same when visiting noted.

This doesn't seem to be the case, since in the attached code SwiftRewriter is triggered, while SwiftVisitor is not.

Confirmed this is a bug here

Small repro attached.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug
Projects
None yet
Development

No branches or pull requests

2 participants