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
#1
md5: 358f531ec146af7e4e65c47264980635
Issue Description:
With this code:
private extension String { func foo() {} } "".foo()
swift-format produces:
extension String { private func foo() {} } "".foo()
which fails to compile with:
/tmp/bar.swift:5:4: error: 'foo' is inaccessible due to 'private' protection level "".foo() ^~~ /tmp/bar.swift:2:16: note: 'foo()' declared here private func foo() {} ^
The text was updated successfully, but these errors were encountered:
Fixed by #3.
Sorry, something went wrong.
allevato
No branches or pull requests
Environment
#1
Additional Detail from JIRA
md5: 358f531ec146af7e4e65c47264980635
Issue Description:
With this code:
swift-format produces:
which fails to compile with:
The text was updated successfully, but these errors were encountered: