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
Swift 5.5
md5: b18f22b31eef9ab686f5c9c8b28b35d0
Issue Description:
typealias SomeCallback = (Foo) -> Void func doWork(callback: @mainactor SomeCallback) { ... }
typealias SomeCallback = (Foo) -> Void
This seems to be confusing the compiler with the error:
Unknown attribute 'MainActor'
I would have expected it to be identical to
func doWork(callback: @mainactor (Foo) -> Void) { ... }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Swift 5.5
Additional Detail from JIRA
md5: b18f22b31eef9ab686f5c9c8b28b35d0
Issue Description:
This seems to be confusing the compiler with the error:
I would have expected it to be identical to
The text was updated successfully, but these errors were encountered: