Improving warning categorization
This commit is contained in:
parent
c6e21d4701
commit
1689e22626
|
@ -28,7 +28,7 @@ class AsmStyleCheck : BaseAnalyzer
|
|||
{
|
||||
if (brExp.asmBrExp !is null)
|
||||
{
|
||||
addErrorMessage(brExp.line, brExp.column,
|
||||
addErrorMessage(brExp.line, brExp.column, "dscanner.confusing.brexp",
|
||||
"This is confusing because it looks like an array index. Rewrite a[1] as [a + 1] to clarify.");
|
||||
}
|
||||
brExp.accept(this);
|
||||
|
|
Loading…
Reference in New Issue