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

2011-10-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3746 yebblies changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

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

2011-06-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3746 --- Comment #13 from yebblies 2011-06-14 08:51:36 PDT --- Without this feature, what should happen with lazy void? void lf(lazy void a) { a; } void main() { int i; lf(i++); } -- Configure issuemail: http://d.puremagic.com/issues/userp

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

2011-06-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3746 Don changed: What|Removed |Added CC||clugd...@yahoo.com.au --- Comment #12 from Don

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

2011-06-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3746 --- Comment #11 from bearophile_h...@eml.cc 2011-06-14 05:14:02 PDT --- (In reply to comment #10) > You're talking about two completely separate issues, both of which are > enhancements. This issue is about providing a clearer error message wi

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

2011-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3746 --- Comment #10 from yebblies 2011-06-13 22:21:03 PDT --- (In reply to comment #9) > > I don't understand. Elsewhere I have a bug report that asks for a new error > message if you don't use the result of a pure function. > But this bug report j

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

2011-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3746 --- Comment #9 from bearophile_h...@eml.cc 2011-06-13 14:31:09 PDT --- (In reply to comment #8) > https://github.com/D-Programming-Language/dmd/pull/121 > > This adds the error message: > testx.d(4): Error: expression with no side effects used

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

2011-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3746 yebblies changed: What|Removed |Added Keywords||patch Summary|Misleding error mes