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. Wouter Wolters commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-09-29T06:35:09+00:00" > 09/29/26, 06:35 </span>

    Applied in changeset commit:e43da4730c2ea359ba328bc7a8159432e57d7b58.

  2. Gerrit Code Review pushed patch set 2 for 14.3 to change 96153 status Resolved Under Review <span data-processor="relativetime" data-value="2026-09-29T08:11:32+00:00" > 09/29/26, 08:11 </span>

  3. Wouter Wolters commented and changed status Under Review Resolved <span data-processor="relativetime" data-value="2026-09-29T08:25:10+00:00" > 09/29/26, 08:25 </span>

    Applied in changeset commit:6e828098f001218b0c05889dd21305a456dbf06f.