[fpc-pascal] [fpc-devel] Nested function closures
Martin Frb
lazarus at mfriebe.de
Wed Apr 28 19:26:51 CEST 2021
On 28/04/2021 18:43, Graeme Geldenhuys via fpc-pascal wrote:
> Hello Sven,
>
> On 28/04/2021 6:32 am, Sven Barth via fpc-pascal wrote:
>> Second: the syntax is required for Delphi compatibility anyway
> Couldn't such verbose syntax be limited to {$mode delphi} behaviour,
> and then leave {$mode objfpc} free to experiment and introduce new
> less verbose syntax in the language.
Would omitting the type info not lead to issues with overloaded functions?
foo(function(a,b)
Foo could have lots of overloaded arguments, all taking a callback with
2 params.
Or it does not have them yet, but later.
More information about the fpc-pascal
mailing list