[Issue 3731] Can implicitly cast an immutable reference to a derived class

2011-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3731 yebblies changed: What|Removed |Added Keywords||accepts-invalid, patch CC|

[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 3999] Enum equality to an int

2011-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3999 --- Comment #4 from bearophile_h...@eml.cc 2011-06-13 17:02:20 PDT --- This is related. This code gives no compilation errors with DMD 2.053, but it's a reduced version of code that has caused me some troubles: enum Foo { A, B } void main() {

[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 2532] '=' does not give a boolean result

2011-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2532 yebblies changed: What|Removed |Added Keywords||patch CC|

[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

[Issue 3180] Covariance of delegates/function pointers

2011-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3180 yebblies changed: What|Removed |Added CC||zan77...@nifty.com --- Comment #7 from yebb

[Issue 4218] safe function cannot call opApply

2011-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4218 yebblies changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 2442] opApply does not allow inferring parameter types when overloaded on const

2011-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2442 yebblies changed: What|Removed |Added Keywords||patch CC|

[Issue 2532] '=' does not give a boolean result

2011-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2532 yebblies changed: What|Removed |Added CC||schvei...@yahoo.com --- Comment #8 from yeb

[Issue 4163] if(bool = bool) results in ill-worded error

2011-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4163 yebblies changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6130] utf.toUTF16z needs to be callable with any string type

2011-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6130 --- Comment #1 from Andrej Mitrovic 2011-06-13 08:36:24 PDT --- Also, dstrings should be supported. It makes it much easier to deal with the windows api when you have access to the count of code points of a string: dstring text = "ABCDE abcde

[Issue 6110] std.functional: unaryFun should take an array alias.

2011-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6110 timon.g...@gmx.ch changed: What|Removed |Added Severity|normal |enhancement -- Configure issuemail

[Issue 3746] Misleding 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 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Com

[Issue 3746] Misleding 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 #7 from bearophile_h...@eml.cc 2011-06-13 03:22:41 PDT --- Issue 3922 contains some interesting comments. It seems this enhancement request for a better error message has many dupes! -- Configure issuemail: http://d.puremagic.com/

[Issue 3922] Wrong error message with return in void function

2011-06-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3922 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution|