http://d.puremagic.com/issues/show_bug.cgi?id=6707
--- Comment #5 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-10-21 14:15:14 PDT --- (In reply to comment #4) > But I think a better error message, more newbie-friendly, tells the programmer > how to fix the problem, (not complete error message): > > test.d(11): Error: function test.Foo.opSlice() needs to be const to [...] If it's in a 3rd party library then the user has no other choice but to use a const object. I don't think we should start recommending to rewrite code like that, especially to newbies. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------