https://issues.dlang.org/show_bug.cgi?id=22155
kinke <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from kinke <[email protected]> --- LDC optimizes it away with -O for the 2 given testcases (via the GC2Stack IR pass) - conceptually, it can prove that the closure doesn't escape after inlining *everything*, and moves it back to the stack. --
