Thread overview | |||||
---|---|---|---|---|---|
|
November 01, 2012 [Issue 8926] New: post-blit copy constructor conflicts with generic opAssign | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8926 Summary: post-blit copy constructor conflicts with generic opAssign Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: malteskarupke@web.de --- Comment #0 from Malte Skarupke <malteskarupke@web.de> 2012-10-31 20:55:46 PDT --- void main() { struct S { this(this) { } ref S opAssign(T)(auto ref T other) { return this; } } S s; } This won't compile in DMD 2.060 with the error message: Error: function hello.main.S.opAssign conflicts with template hello.main.S.opAssign(T) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 03, 2012 [Issue 8926] post-blit copy constructor conflicts with generic opAssign | ||||
---|---|---|---|---|
| ||||
Posted in reply to Malte Skarupke | http://d.puremagic.com/issues/show_bug.cgi?id=8926 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-11-03 05:34:12 PDT --- *** 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: ------- |
November 03, 2012 [Issue 8926] post-blit copy constructor conflicts with generic opAssign | ||||
---|---|---|---|---|
| ||||
Posted in reply to Malte Skarupke | http://d.puremagic.com/issues/show_bug.cgi?id=8926 --- Comment #2 from Malte Skarupke <malteskarupke@web.de> 2012-11-03 14:35:27 PDT --- Sorry for posting a duplicate, but that other bug was closed, so obviously I couldn't find it. Well the bug still exists, but I guess somebody wrote a patch somewhere and that means that it will be fixed. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation