[Issue 3922] Refuse returning nonvoid from void functions

2012-01-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3922 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 3922] Refuse returning nonvoid from void functions

2012-01-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3922 --- Comment #12 from Trass3r mrmoc...@gmx.de 2012-01-06 04:59:49 PST --- (In reply to comment #10) This is required for forwarding and cannot change. auto foo(T...)(T args){return bar(args);} Well couldn't this special case be checked?

[Issue 3922] Refuse returning nonvoid from void functions

2012-01-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3922 --- Comment #13 from timon.g...@gmx.ch 2012-01-06 06:28:39 PST --- (In reply to comment #12) (In reply to comment #10) This is required for forwarding and cannot change. auto foo(T...)(T args){return bar(args);} Well couldn't this

[Issue 3922] Refuse returning nonvoid from void functions

2012-01-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3922 Trass3r mrmoc...@gmx.de changed: What|Removed |Added Keywords||accepts-invalid

[Issue 3922] Refuse returning nonvoid from void functions

2012-01-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3922 --- Comment #9 from bearophile_h...@eml.cc 2012-01-05 15:36:21 PST --- The main real problem (returning a non void from a void function) is now fixed: https://github.com/D-Programming-Language/dmd/commit/c942d51c8b1103d5ce4c3dfc03ae77c07c687cd6