static foreach @nogc

Timon Gehr timon.gehr at gmx.ch
Wed Jun 5 22:01:09 UTC 2019


On 04.06.19 19:58, Jacob Carlborg wrote:
> On 2019-05-30 17:29, Timon Gehr wrote:
> 
>> The only issue here is that `@nogc:` applies to all nested functions, 
>> including delegates that are only used for CTFE.
> 
> You don't see it has a problem that the compiler mentions "delegate" in 
> an error message but "delegate" doesn't exist in the source code?
> 

The problem is that there is an error message at all.


More information about the Digitalmars-d mailing list