[Issue 6912] const(T)[]/immutable(T)[] can be implicitly cast to inout(const(T)[])/inout(immutable(T)[])

2011-11-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6912 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added Keywords|rejects-valid

[Issue 6912] const(T)[]/immutable(T)[] can be implicitly cast to inout(const(T)[])/inout(immutable(T)[])

2011-11-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6912 --- Comment #5 from Kenji Hara k.hara...@gmail.com 2011-11-10 06:07:48 PST --- (In reply to comment #4) I think this should be accepts-invalid, since the given example code should not compile. Wow, I'm sorry, and thank you for your fix.

[Issue 6912] const(T)[]/immutable(T)[] can be implicitly cast to inout(const(T)[])/inout(immutable(T)[])

2011-11-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6912 --- Comment #6 from Steven Schveighoffer schvei...@yahoo.com 2011-11-10 06:49:38 PST --- (In reply to comment #5) (In reply to comment #4) I think this should be accepts-invalid, since the given example code should not compile. Wow,

[Issue 6912] const(T[])/immutable(T[]) can be implicitly cast to inout(const(T)[])/inout(immutable(T)[])

2011-11-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6912 timon.g...@gmx.ch changed: What|Removed |Added Summary|non-transitivity of inout |const(T[])/immutable(T[])

[Issue 6912] const(T)[]/immutable(T)[] can be implicitly cast to inout(const(T)[])/inout(immutable(T)[])

2011-11-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6912 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||patch, rejects-valid