If True
is not in scope and is used, suggest the valid true
#100686
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: link
The current output is:
Ideally the output should suggest something like "if this is meant to be a boolean, consider changing it to
true
", sinceTrue
is used for other languages.The text was updated successfully, but these errors were encountered: