https://issues.dlang.org/show_bug.cgi?id=12664

--- Comment #3 from [email protected] ---
(In reply to bearophile_hugs from comment #2)

> void foo(T)(lazy @nogc x) @nogc {
>     auto r = x();
> }
> void main() {
>     foo(1);
> }

Sorry, I meant to write:

void foo(lazy @nogc x) @nogc {

--

Reply via email to