I believe most of the issues we encountered were fixed in later Swift versions. We also fixed crashes caused by the misuse so it's been a while since I looked at them
But what exactly was fixed?
That there's now a warning? Or that this is no longer bad?
IIRC it produces a warning
I do not see a warning... testes this snippet on recent Swift versions on godbolt:
@available(*, noasync, message: "This can block the calling thread and should not be called in an async context", renamed: "asyncAlternative()")
func noAsyncFunc() {}
func regularFunction() {
noAsyncFunc()
}
func doSomethingAsync() async {
regularFunction()
}
This is not expected to produce a diagnostic, no.