[fpc-pascal] += property bug?

Martok listbox at martoks-place.de
Mon Aug 12 10:18:07 CEST 2019


Am 12.08.2019 um 09:40 schrieb Michael Van Canneyt:
> 
> This question pops up from time to time since 15 years if not more.

Fun fact: questions asking why this doesn't work have a higher Google ranking
than the manual for "COPERATORS" ;-)

@Ryan: as with all things FPC, ignore the manual, read the parser:
<https://github.com/graemeg/freepascal/blob/4e6c609/compiler/pexpr.pas#L221>

Turns out c-operators do not actually translate to their long form but instead
have special, duplicated handling. Because of course they do.


-- 
Regards,
Martok




More information about the fpc-pascal mailing list