Parse error on "static" keyword
Original Reporter info from Mantis: Ask
-
Reporter name: Alexander S. Klenin
Original Reporter info from Mantis: Ask
- Reporter name: Alexander S. Klenin
Description:
If it is used more then once.
Steps to reproduce:
{$mode objfpc}
type
T = class
private
F1: Integer; static;
F2: Integer; static;
end;
begin
end.
=>
t1.pp(6,24) Fatal: Syntax error, ":" expected but ";" found
FPC 2.4.4 works fine (with -St switch, of course)
Mantis conversion info:
- Mantis ID: 20119
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 19001 (#7e88628b)
- Monitored by: » @martin_frb (Martin Friebe)