[Issue 3922] Refuse returning nonvoid from void functions
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Jan 18 18:44:22 PST 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=3922
yebblies <yebblies at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |yebblies at gmail.com
         Resolution|                            |FIXED
--- Comment #14 from yebblies <yebblies at gmail.com> 2012-01-19 13:44:18 EST ---
As far as I can tell, this bug has been fixed with issue 3746 and issue 5399.
Returning a value from a void function is only allowed when the value evaluates
to void, preventing the value from being lost accidentally.
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list