https://issues.dlang.org/show_bug.cgi?id=14560
Kenji Hara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, wrong-code Summary|[REG2.066] Strange -inline |[REG2.058] Strange -inline |behavior |behavior OS|Linux |All --- Comment #5 from Kenji Hara <[email protected]> --- Reduced test case: auto serialize(T)(T value) { foreach (i; value) { } return; // important } int main() { serialize(["test"]); return 0; } Compiler fix: https://github.com/D-Programming-Language/dmd/pull/4743 --
