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
[self = foo]
swift-syntax d518259 macOS
md5: f216403cfbb1ce9b46bd15205e13ac1e
Issue Description:
With this syntax:
let foo = "hi" let bar = { [self = foo] in print(self) }
swift-format errors with:
% .build/debug/swift-format lint /tmp/foo.swift /tmp/foo.swift:2:11: error: file contains invalid or unrecognized Swift syntax.
Based on some cursory look it seems that the issue here is from SwiftSyntax and not swift-format
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
No branches or pull requests
Environment
swift-syntax d518259
macOS
Additional Detail from JIRA
md5: f216403cfbb1ce9b46bd15205e13ac1e
Issue Description:
With this syntax:
swift-format errors with:
Based on some cursory look it seems that the issue here is from SwiftSyntax and not swift-format
The text was updated successfully, but these errors were encountered: