[Lazarus] How well should Lazarus check method parameters?
Mark Morgan Lloyd
markMLl.lazarus at telemetry.co.uk
Wed Feb 22 21:55:01 CET 2012
I've just spotted this in my code:
procedure FormCloseQuery(Sender: TObject; CanClose: boolean);
..
procedure TListForm.FormCloseQuery(Sender: TObject; CanClose: Boolean);
Those were inserted by some old version of the IDE, presumably the
current version inserts the missing var.
Shouldn't either the IDE or the runtimes pick up this error?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the Lazarus
mailing list