[Issue 4539] Refuse assignment to string literal
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jul 31 09:18:55 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4539
--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2010-07-31 09:18:53 PDT ---
Yeah, it does not make sense at all. But it gets worse:
import std.stdio;
void main() {
"hello" = "red";
string x = "hello";
writeln(x);
}
Writes "red"
That's not good. :)
--
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