http://d.puremagic.com/issues/show_bug.cgi?id=9069
Andrej Mitrovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Andrej Mitrovic <[email protected]> 2012-11-24 03:04:42 PST --- I think this is the pull that should have fixed this: http://d.puremagic.com/issues/show_bug.cgi?id=5889 Also since a recent pull this (correctly) no longer compiles: struct S { } void test(ref S s = S()) { } So I think we've definitely agreed that literals are r-values. Maybe the OP code compiles because of an oversight or wrong revert? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
