http://d.puremagic.com/issues/show_bug.cgi?id=9050
timon.g...@gmx.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |timon.g...@gmx.ch Resolution|WORKSFORME | Summary|compiler crash on return |failing return type |type inference |inference --- Comment #3 from timon.g...@gmx.ch 2013-02-05 09:06:45 PST --- (In reply to comment #2) > Ok, I don't quite remember what my thoughts were about the return type > inference, but it looks valid for the compiler to reject the code. So I > followed your advice and set it to resolved. No, that is a bug. There is no reason for the compiler to reject the code. (It even works if B is not templated.) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------