Skip to content

Change casting function to SyntaxEnum to as(SyntaxEnum.self) #168

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

Merged
merged 1 commit into from
Nov 7, 2019

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Oct 31, 2019

SyntaxEnum is the only place that uses the asSyntaxEnum-style casting.
Make the syntax more consistent with the other as(Something.self) casting functions.

SyntaxEnum was the only place that uses the asSyntaxEnum-style casting.
Make the syntax more consistent with the other as(Something.self)
casting functions.
@ahoppen ahoppen changed the title WIP: Change casting function to SyntaxEnum to as(SyntaxEnum.self) Change casting function to SyntaxEnum to as(SyntaxEnum.self) Nov 5, 2019
@ahoppen
Copy link
Member Author

ahoppen commented Nov 5, 2019

@swift-ci Please test

@swift-ci
Copy link
Contributor

swift-ci commented Nov 6, 2019

Build failed
Swift Test OS X Platform
Git Sha - 8ae9861

@ahoppen
Copy link
Member Author

ahoppen commented Nov 6, 2019

swiftlang/swift-stress-tester#107

@swift-ci Please test

@ahoppen ahoppen merged commit 897ac41 into swiftlang:master Nov 7, 2019
@ahoppen ahoppen deleted the as-syntax-enum branch November 7, 2019 21:55
adevress pushed a commit to adevress/swift-syntax that referenced this pull request Jan 14, 2024
Remove swift-tools-support-core dependency.
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.

3 participants