https://issues.dlang.org/show_bug.cgi?id=18484
Walter Bright <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Walter Bright <[email protected]> --- Much reduced test case: --- struct S { int* bar() return; } int* test1() { auto x = S(); return x.bar(); // error } int* test2() { return S().bar(); // no error } --
