-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
False alarm for new async
properties and implicit_getter
#3684
Comments
The problem is the same with struct Test {
subscript (value: Int) -> Int {
get throws {
if value == 0 {
throw NSError()
}
else {
return value
}
}
}
} |
marcelofabri
added a commit
that referenced
this issue
Oct 12, 2021
This was referenced Oct 12, 2021
marcelofabri
added a commit
that referenced
this issue
Oct 12, 2021
marcelofabri
added a commit
that referenced
this issue
Oct 12, 2021
marcelofabri
added a commit
that referenced
this issue
Oct 12, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This triggers a violation for
implicit_getter
:There isn't another way to define an
async
property in Swift 5.5 so the getter is required here. I think ifget async
is declared for a property, it should not trigger aimplicit_getter
failure.The text was updated successfully, but these errors were encountered: