fix some more style-guide violations in the alert-messages

This commit is contained in:
erik-krogh
2022-10-07 11:22:22 +02:00
parent 5f740a5598
commit 368f84785b
127 changed files with 1297 additions and 1282 deletions

View File

@@ -21,4 +21,4 @@ where
i < j and
// only report the next duplicate
not exists(int mid | mid in [i + 1 .. j - 1] | dpid.same(oe.getProperty(mid).getInit()))
select p, "This property is duplicated $@.", q, "here"
select p, "This property is duplicated $@.", q, "in a later property"

View File

@@ -56,5 +56,5 @@ where
s = raw.substring(1, raw.length() - 1) and
s.regexpMatch(getALikelyRegExpPattern())
select mce,
"String argument '$@' looks like a regular expression, but it will be interpreted as a string.",
"String argument $@ looks like a regular expression, but it will be interpreted as a string.",
arg, s

View File

@@ -98,5 +98,5 @@ where
unbound.getBinder() = callback.getBody() and
not isBoundInMethod(callback)
select attribute,
"The receiver of this event handler call is unbound, `$@` will be `undefined` in the call to $@",
"The receiver of this event handler call is unbound, `$@` will be `undefined` in the call to $@.",
unbound, "this", callback, callback.getName()