digitalmars.D.bugs - [Issue 7427] New: Cannot use templated opAssign when there is a member whose type has a postblit.
- d-bugmail puremagic.com (33/33) Feb 02 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7427
- d-bugmail puremagic.com (11/11) Feb 06 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7427
http://d.puremagic.com/issues/show_bug.cgi?id=7427 Summary: Cannot use templated opAssign when there is a member whose type has a postblit. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: kennytm gmail.com --- Comment #0 from kennytm gmail.com 2012-02-02 12:35:55 PST --- Test case: ------------------------------ struct K7427 { this(this) {} } struct S7427 { K7427 x; void opAssign()(int y) {} } ------------------------------ Compile with 'dmd -c test7427.d' gives: test7427.d(7): Error: function test7427.S7427.opAssign conflicts with template test7427.S7427.opAssign() at test7427.d(9) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 02 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7427 kennytm gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from kennytm gmail.com 2012-02-06 12:39:40 PST --- *** This issue has been marked as a duplicate of issue 4424 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 06 2012