https://issues.dlang.org/show_bug.cgi?id=12664 --- Comment #3 from bearophile_hugs at eml.cc --- (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 { --