Search Terms
error message async function
Suggestion
When I mistype async as something like asdync, the error messages are quite unhelpful. It would be nice to have "did you mean async?" suggestions, as when we mistype a variable name. Perhaps if the edit distance from this particular keyword is small?
If this idea is a good one, it might make sense to expand it to public, protected, etc.
Use Cases
This is a common thing for me, sadly. I assume new users have this problem as well.
Examples
asdync foo() { }
class Foo {
private asdync bar() { }
}
Checklist
My suggestion meets these guidelines:
Search Terms
error message async function
Suggestion
When I mistype
asyncas something likeasdync, the error messages are quite unhelpful. It would be nice to have "did you mean async?" suggestions, as when we mistype a variable name. Perhaps if the edit distance from this particular keyword is small?If this idea is a good one, it might make sense to expand it to
public,protected, etc.Use Cases
This is a common thing for me, sadly. I assume new users have this problem as well.
Examples
Checklist
My suggestion meets these guidelines: