#110820Extension Scanner misses non-null constants in unused argument positions
Description
Steps to reproduce
- Configure an unused-argument matcher for argument position 2.
- Scan a method or constructor call that passes
trueorfalsethere. - Observe that no match is reported. Passing
nullcorrectly produces no match.
Cause
Both matchers exclude every ConstFetch argument. They should exclude
only the literal null
Reviews 2
History 27
-
Gerrit Code Review pushed patch set 1 for main to change 96139 status
NewUnder Review 09/28/26, 19:57 -
Gerrit Code Review pushed patch set 2 for main to change 96139 09/28/26, 19:59
-
Gerrit Code Review pushed patch set 3 for main to change 96139 09/28/26, 21:19
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 96153 09/29/26, 06:29
-
Wouter Wolters commented and changed status
Under ReviewResolved done0 %100 % 09/29/26, 06:35 -
Gerrit Code Review pushed patch set 2 for 14.3 to change 96153 status
ResolvedUnder Review 09/29/26, 08:11 -
Wouter Wolters commented and changed status
Under ReviewResolved 09/29/26, 08:25Applied in changeset commit:6e828098f001218b0c05889dd21305a456dbf06f.
Applied in changeset commit:e43da4730c2ea359ba328bc7a8159432e57d7b58.