On Mon, 28 Jul 2025, Sven Barth via fpc-pascal wrote:
Michael Van Canneyt via fpc-pascal <fpc-pascal@lists.freepascal.org>
schrieb am Mo., 28. Juli 2025, 11:21:
If this argument is to carry any weight, then we also need to remove
all instances where FPC did things differently from Delphi:
[snip]
- anonymous functions explicitly are interfaces.
[snip]
Anonymous functions *are* provided using interfaces in Delphi.
I know, but in Delphi it is an implementation detail. In your announcement mail,
you said that it is explicit in FPC, namely you can assign an interface with the
right signature to a 'reference to procedure'...
That aspect of anonymous functions (or more precisely, "reference to
procedure") is what I referred to.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal