1
Fork 0

Fix suggestion when shorthand self has erroneous type

This commit is contained in:
Michael Goulet 2024-03-08 00:02:11 +00:00
parent 96e51d9482
commit 05c34cc5ed
6 changed files with 127 additions and 1 deletions

View file

@ -343,6 +343,9 @@ parse_incorrect_semicolon =
.suggestion = remove this semicolon
.help = {$name} declarations are not followed by a semicolon
parse_incorrect_type_on_self = type not allowed for shorthand `self` parameter
.suggestion = move the modifiers on `self` to the type
parse_incorrect_use_of_await = incorrect use of `await`
.parentheses_suggestion = `await` is not a method call, remove the parentheses