[fpc-devel] $modeswitch Closures

Sven Barth pascaldragon at googlemail.com
Thu May 26 21:57:04 CEST 2022


Am 25.12.2021 um 20:22 schrieb Blaise--- via fpc-devel:
> The attached modeswitch_closures.patch introduces {$modeswitch 
> Closures}; it is included in {$mode Delphi}.
>
> There is a distinction between anonymous routines (defined in-place, 
> without a name) and closures (capture the context they are invoked 
> with). The switch encompasses both, but goes for the shorter and 
> catchier name.

Rejected. First of a modeswitch only patch won't be done, but also this 
was now split into AnonymousFunctions and FunctionReferences.

Regards,
Sven


More information about the fpc-devel mailing list