https://issues.dlang.org/show_bug.cgi?id=19774
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #7 from [email protected] --- fyi with LDC: the bug is that `return bar()[1];` first calls the destructor on the temporary returned by `bar()`, and _after_ that calls opIndex. Clearly the order of those calls should be reversed. --
