Skip to content

Handle derivative attr without params. #188

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
Apr 14, 2020

Conversation

dylansturg
Copy link
Contributor

Using @derivative(of:...) without a wrt clause previously crashed the formatter, due to an unmatched open token. Now the close token is added when there is no wrt clause too.

Using `@derivative(of:...)` without a `wrt` clause previously crashed the formatter, due to an unmatched open token. Now the close token is added when there is no `wrt` clause too.
@allevato allevato merged commit 86d467f into swiftlang:master Apr 14, 2020
@dylansturg dylansturg deleted the derivative_attr_crash branch April 15, 2020 20:33
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