http://d.puremagic.com/issues/show_bug.cgi?id=4539
--- Comment #10 from Kenji Hara <k.hara...@gmail.com> 2011-06-04 23:19:38 PDT --- I think the main problem is that dmd treats string literal as lvalue. Lvalue can appear on left hand side of assignment, so string literal now asignable. Patch comment #7 fixes this behavior, and this change also refuse string literal on ref parameter as a side effect. It seems to me that it is correct refusing string literal on ref parameter. So this change breaks existing code. (If D specification treats string literal specially, my think is mistaken. But it might be not.) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------