[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 18:46:28 PST 2010


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



--- Comment #2 from Haruki Shigemori <rayerd.wiz at gmail.com> 2010-12-03 18:44:54 PST ---
(In reply to comment #1)
> 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.

Of course, I know that.
I said that the error message has two problems.
I didn't say that it is unkindness.
However, it makes me happy if the message is more better, because the current
message has not class and variable name.

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