Can we fix this?

deadalnix deadalnix at gmail.com
Wed Sep 29 14:34:01 UTC 2021


On Wednesday, 29 September 2021 at 14:16:50 UTC, jfondren wrote:
> On Wednesday, 29 September 2021 at 10:44:53 UTC, Imperatorn 
> wrote:
>> https://issues.dlang.org/show_bug.cgi?id=2043
>>
>> Impossible?
>
> ... Documentation:
>
> D has two kinds of blocks, the `{ ... }` kind and the `(){ ... 
> }();` kind.

No, the later is just a lambda, with a perfectly normal scope in 
it.

> Within the former, for efficiency, [something about this bug].

Doing something fast and wrong is not exactly efficiency.



More information about the Digitalmars-d mailing list