← board

REJECTED 2026-08-26 — never. pxx accepts an implementation for an undeclared method; FPC rejects it. We are laxer, the registered method dispatches consistently, and the ticket itself records "NOT silent-wrong-value". Per the FPC-parity table in CLAUDE.md that is a dialect choice, not a defect. Adding a --strict-fpc arm for it would buy a diagnostic nobody asked for on code that already works.

TC.Foo implementation for a method the class never DECLARED compiles (FPC rejects)

Repro

type
  TC0 = class
  end;
function TC0.Calc: longint;
begin
  Calc := 7;
end;

pxx: compiles, c.Calc returns 7. FPC: error (method not declared in class).

Where

parser.inc ~22522: the method-impl binder's not-found branch deliberately falls back to AddUMeth ("falling back to the name match for a not-yet-declared method"). Behind a strict flag per the strict-* policy (--strict-fpc umbrella), NOT default — the lax registration may be relied on. Related: bug-pascal-overload-impl-decl-signature-match.