Issue Bug Resolved

#110820Extension Scanner misses non-null constants in unused argument positions

Wouter Wolters 09/28/26, 19:46 updated 09/29/26, 08:25

Description

Steps to reproduce

  • Configure an unused-argument matcher for argument position 2.
  • Scan a method or constructor call that passes true or false there.
  • Observe that no match is reported. Passing null correctly produces no match.

Cause

Both matchers exclude every ConstFetch argument. They should exclude
only the literal null

Reviews 2

History 27

  1. Gerrit Code Review pushed patch set 1 for main to change 96139 status New Under Review 09/28/26, 19:57

  2. Gerrit Code Review pushed patch set 2 for main to change 96139 09/28/26, 19:59

  3. Gerrit Code Review pushed patch set 3 for main to change 96139 09/28/26, 21:19

  4. Gerrit Code Review pushed patch set 1 for 14.3 to change 96153 09/29/26, 06:29

  5. Wouter Wolters commented and changed status Under Review Resolved done 0 % 100 % 09/29/26, 06:35

    Applied in changeset commit:e43da4730c2ea359ba328bc7a8159432e57d7b58.

  6. Gerrit Code Review pushed patch set 2 for 14.3 to change 96153 status Resolved Under Review 09/29/26, 08:11

  7. Wouter Wolters commented and changed status Under Review Resolved 09/29/26, 08:25

    Applied in changeset commit:6e828098f001218b0c05889dd21305a456dbf06f.