https://issues.dlang.org/show_bug.cgi?id=16455
apham <ap...@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- --- Comment #2 from apham <ap...@hotmail.com> --- Based on this https://dlang.org/spec/function.html#closures and the code, the struct var is not moving anywhere and not out of scope, so it must work --