http://d.puremagic.com/issues/show_bug.cgi?id=5399
nfx...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nfx...@gmail.com --- Comment #3 from nfx...@gmail.com 2011-01-02 05:45:57 PST --- (In reply to comment #2) > It is not a dangerous corner case, it is a deliberate design choice. It is > meant to facilitate writing generic code so that the same code can be > generated > for void and non-void return values. Wow, D is really full of idiocy, isn't it? If you wanted to facilitate that, you'd just allow declaring void variables and all that. I've written generic code where _that_ would have been quite useful. But returning non-void values in void functions? Garbage language feature. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------