We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Attachment: Download
MacOS 10.14.6, Xcode 10.3
md5: 6740206789e6a4fdbe77197f956dbdb8
Issue Description:
The expectation is that SwiftRewriter and SwiftVisitor would behave exactly the same when visiting noted.
SwiftRewriter
SwiftVisitor
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.
The text was updated successfully, but these errors were encountered:
rdar://95635608
Sorry, something went wrong.
Sorry for the super-late response here. The problem is that the visitor was called as
TypeConformanceVisitor().visit(sourceFile)
but calling visit on a SyntaxVisitor doesn’t do recursive visitation. The correct call should have been to walk.
visit
SyntaxVisitor
walk
TypeConformanceVisitor().walk(sourceFile)
If I change that, the rewriter and visitor behave the same.
Fix formatting of primary associated type clauses in protocols.
21e4e9e
Fixes apple#414.
No branches or pull requests
Attachment: Download
Environment
MacOS 10.14.6, Xcode 10.3
Additional Detail from JIRA
md5: 6740206789e6a4fdbe77197f956dbdb8
Issue Description:
The expectation is that
SwiftRewriter
andSwiftVisitor
would behave exactly the same when visiting noted.This doesn't seem to be the case, since in the attached code
SwiftRewriter
is triggered, whileSwiftVisitor
is not.Confirmed this is a bug here
Small repro attached.
The text was updated successfully, but these errors were encountered: