lambdas and function literals in classes

Dicebot public at dicebot.lv
Tue Jul 9 05:48:55 PDT 2013


On Tuesday, 9 July 2013 at 12:32:55 UTC, Artur Skawina wrote:
> On 07/09/13 12:50, John Colvin wrote:
>> JS asked about this in the main group, but here is more 
>> appropriate and I'm quite interested myself.
>
> Function/delegate *literals* in aggregates are not accepted by 
> the compiler.

Probably calling those "function/delegate literals at aggregate 
_scope_" is a more precise thing to do. Because current error 
message sounds rather ambiguous.


More information about the Digitalmars-d-learn mailing list