digitalmars.D.bugs - [Issue 9442] New: typeid() doesn't work without `this.` for class fields
- d-bugmail puremagic.com (27/27) Feb 01 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9442
- d-bugmail puremagic.com (10/10) Feb 01 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9442
- d-bugmail puremagic.com (11/11) Feb 03 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9442
- d-bugmail puremagic.com (11/11) Feb 04 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9442
- d-bugmail puremagic.com (9/9) Feb 04 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9442
http://d.puremagic.com/issues/show_bug.cgi?id=9442 Summary: typeid() doesn't work without `this.` for class fields Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com 16:51:14 PST --- class C { this() { auto x = typeid(c); // L5 NG auto y = typeid(this.c); // ok } C c; } void main() { } $ test.d(5): Error: need 'this' to access member c -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 01 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9442 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, rejects-valid https://github.com/D-Programming-Language/dmd/pull/1595 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 01 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9442 Benjamin Thaut <code benjamin-thaut.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |code benjamin-thaut.de PST --- There is a workaround: typeid(typeof(this.c)); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 03 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9442 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c589ba59462f1609da564723a90a72b920ab8483 fix Issue 9442 - typeid() doesn't work without `this.` for class fields https://github.com/D-Programming-Language/dmd/commit/aa51dadc917ccd844fb4f30a456b9fb40f316694 Issue 9442 - typeid() doesn't work without `this.` for class fields -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 04 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9442 Andrej Mitrovic <andrej.mitrovich 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: -------
Feb 04 2013