Skip to content

no warning for loop variable usage after "for"

Original Reporter info from Mantis: skalogryyz
  • Reporter name: Dmitry Boyarintsev

Description:

var
  i : integer;
begin
  for i := 0 to 5 do
    writeln(i);
  writeln(i); // no note, hint or warning
end.

Mantis conversion info:

  • Mantis ID: 12508
  • Version: 2.3.1
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information