digitalmars.D.bugs - [Issue 9858] New: const alias this fails when opAssign is present
- d-bugmail puremagic.com (39/39) Apr 02 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9858
- d-bugmail puremagic.com (11/11) Apr 02 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9858
- d-bugmail puremagic.com (12/12) Apr 04 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9858
- d-bugmail puremagic.com (9/9) Apr 04 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9858
http://d.puremagic.com/issues/show_bug.cgi?id=9858 Summary: const alias this fails when opAssign is present Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: nilsbossung googlemail.com --- Works with 2.062. --- cat > test.d <<code struct S() { property int get() const { return 42; } alias get this; void opAssign(int) {} } void main() { const S!() s; int i = s; } code dmd -c -o- test.d --- test.d(13): Error: cannot implicitly convert expression (s) of type const(S!()) to int --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 02 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9858 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, rejects-valid Version|unspecified |D2 https://github.com/D-Programming-Language/dmd/pull/1828 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 02 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9858 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c6ebfc21c8fd050b13dfd8cb2da8803797d261bc fix Issue 9858 - const alias this fails when opAssign is present Type::makeXXX had unintentionally taken over Type(Struct|Class)::att field. https://github.com/D-Programming-Language/dmd/commit/afd7c3d0555d7407bc55a2fb3e3dbf864413d23e [REG2.063a] Issue 9858 - const alias this fails when opAssign is present -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 04 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9858 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: -------
Apr 04 2013