[Issue 5314] Wrong error message: struct within immutable member and postblit function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 3 11:39:25 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=5314


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2010-12-03 11:37:52 PST ---
I've noticed that a lot of errors get printed three times. I have no idea why.
Regardless, the error message is close to correct. The problem is, of course,
that value is immutable, not the this pointer, but the object as a whole is not
mutable, because value is immutable, so saying that this is not mutable is
essentially correct, if somewhat misleading. It needs a better error message,
but the one that's there isn't totally off.

-- 
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