[Issue 3746] Misleading error message "OP has no effect in expression XXX), in void function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 13 13:39:14 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=3746


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
            Summary|Misleding error message "OP |Misleading error message
                   | has no effect in           |"OP  has no effect in
                   |expression XXX), in void    |expression XXX), in void
                   |function                    |function


--- Comment #8 from yebblies <yebblies at gmail.com> 2011-06-13 13:34:34 PDT ---
https://github.com/D-Programming-Language/dmd/pull/121

This adds the error message:
testx.d(4): Error: expression with no side effects used with void return

Good enough?

-- 
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