Re: [fpc-devel] Language semantic suggesion regarding static methods

2019-10-22 Thread Marco van de Voort
Op 2019-10-22 om 01:19 schreef J. Gareth Moreton: For backward compatibility, I would suggest keeping the 'static' directive for class methods so existing code doesn't break, but maybe mark it as deprecated. We need less dialectal variety, not more. The ambiguity of having two forms in co

Re: [fpc-devel] Language semantic suggesion regarding static methods

2019-10-21 Thread Sven Barth via fpc-devel
J. Gareth Moreton schrieb am Di., 22. Okt. 2019, 07:21: > Fair enough. Thanks Sven. It just seemed to be a bit of an anomaly in my > eyes. (The ambiguity shouldn't be an issue because of the semicolon > following directives) > The parser will only know whether it's a directive or part of the

Re: [fpc-devel] Language semantic suggesion regarding static methods

2019-10-21 Thread J. Gareth Moreton
Fair enough.  Thanks Sven.  It just seemed to be a bit of an anomaly in my eyes.  (The ambiguity shouldn't be an issue because of the semicolon following directives) Just something I thought I'd bring up. Gareth aka. Kit On 22/10/2019 06:17, Sven Barth via fpc-devel wrote: Am 22.10.2019 um

Re: [fpc-devel] Language semantic suggesion regarding static methods

2019-10-21 Thread Sven Barth via fpc-devel
Am 22.10.2019 um 01:19 schrieb J. Gareth Moreton: This is a very low-level semantic issue, but I'm not particularly keen on how static methods are defined in classes. Not being "keen" on an existing, established syntax is not reason enough to change it. Please also note (to probably annoy y