[patch] Jedi code format error if "Enumerator" is the first word in function.
Original Reporter info from Mantis: DomingoGP @DomingoGP
-
Reporter name: Domingo Galmés
Original Reporter info from Mantis: DomingoGP @DomingoGP
- Reporter name: Domingo Galmés
Description:
This patch is a redo of the patch supplied after the resolution=fixed of the issue #38932 (closed) that can no longer be applied.
reported by @OkobaPatino
"Although I found a a bug with a new test. The Function code will nor work but the Procedure will."
Steps to reproduce:
program Project1;
type
TTestEnumerator = record
X: Integer;
end;
procedure Test1(var Enumerator: TTestEnumerator);
begin
Enumerator.X := 1;
end;
function Test(var Enumerator: TTestEnumerator): Boolean;
begin
Enumerator.X := 1;
Result := True;
end;
begin
end.
Mantis conversion info:
- Mantis ID: 39149
- Fixed in revision: r65365 (#88694d38)