http://d.puremagic.com/issues/show_bug.cgi?id=6330
Summary: Cannot disable assignment to a struct. Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: accepts-invalid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: dsim...@yahoo.com --- Comment #0 from David Simcha <dsim...@yahoo.com> 2011-07-15 20:07:41 PDT --- struct S { void opAssign(S s) @disable { assert(0); // This fails. } } void main() { S s; S s2; s2 = s; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------