I have been finding myself super confused by some error messages related to async blocks and functions: mostly because their errors are reported in exactly the opposite location than I would expect…
/me finds an example…
But als I’ve found that plain type mismatch errors have reversed expected and found types.
@nagisa thanks for the report! can you file an issue?
I agree the span is not great
not sure off hand what it would take to fix it, but it'd be good to have a representative issue to track it
( #65180 was the filed issue)