Design decisions

300. L0523 matches the call spellings of min= and max= (2026-11-22)

  • Decision. chmin_chmax_if (L0523) recognises x = max(x, e) and x = min(e, x) by the callee names min and max, and suggests x max= e. The lint_std_names ratchet goes from 131 to 133 for these two literals.
  • Why. min= and max= are core operators (spec/core/01, R01.6.4) whose meaning is the prelude's min/max of the place and the value, so the two names are part of the operator, not library API the linter privileges. The fix applies only when neither side calls anything and the place's type is known and not optional.
  • Reverse. Delete Assigns::min_max in crates/cpl-lint/src/rules/assign.rs, spec/lints/chmin_chmax_if/, and lower the ratchet.