[Issue 5314] New: Wrong error message: struct within immutable member and postblit function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 3 09:21:07 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5314
Summary: Wrong error message: struct within immutable member
and postblit function
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: rayerd.wiz at gmail.com
--- Comment #0 from Haruki Shigemori <rayerd.wiz at gmail.com> 2010-12-03 09:19:34 PST ---
// a.d
struct ID
{
immutable int value;
this(this){}
}
void main() {}
$ dmd a.d
Error: this is not mutable
Error: this is not mutable
Error: this is not mutable
- No line number.
- Strange *three* error message.
--
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