digitalmars.D.bugs - [Issue 9077] New: Struct copy constructor ignored when opAssign with a different type is present
- d-bugmail puremagic.com (36/36) Nov 25 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9077
- d-bugmail puremagic.com (10/10) Dec 03 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9077
- d-bugmail puremagic.com (13/13) Dec 03 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9077
- d-bugmail puremagic.com (9/9) Dec 03 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9077
http://d.puremagic.com/issues/show_bug.cgi?id=9077 Summary: Struct copy constructor ignored when opAssign with a different type is present Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: siegelords_abode yahoo.com --- Comment #0 from siegelords_abode yahoo.com 2012-11-25 10:13:17 PST --- Compiles fine with 2.060, fails with 2.061 beta. struct A { void opAssign(int a) { } void test() { A a; a = this; } this(this) { } } // test.d(11): Error: function test.A.opAssign (int a) is not callable using argument types (A) // test.d(11): Error: cannot implicitly convert expression (this) of type A to int -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 25 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9077 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2012-12-03 05:54:26 PST --- https://github.com/D-Programming-Language/dmd/pull/1345 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 03 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9077 --- Comment #2 from github-bugzilla puremagic.com 2012-12-03 15:42:02 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/00ba398dd1d7bb5f06b2b380dc113ba32b3afff8 fix Issue 9077 - Struct copy constructor ignored when opAssign with a different type is present https://github.com/D-Programming-Language/dmd/commit/6b31d6c0d12ffacb007bb75f74a26ac3081d4b1c Merge pull request #1345 from 9rnsr/fix9077 Issue 9077 - Struct copy constructor ignored when opAssign with a different type is present -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 03 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9077 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 03 2012