Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 02, 2009 [Issue 2787] New: Members found in an 'alias this' are not implicitly accessible in methods | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2787 Summary: Members found in an 'alias this' are not implicitly accessible in methods Product: D Version: 2.027 Platform: PC OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: jarrett.billingsley@gmail.com struct Base { int x; void foo() { writefln("%s", x); } } struct Derived { Base _base; alias _base this; int y; void bar() { writefln("%s, %s", x, y); } // line 16 } foo.d(16): Error: undefined identifier x But 'this.x' works. -- |
August 14, 2011 [Issue 2787] Members found in an 'alias this' are not implicitly accessible in methods | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2787 Trass3r <mrmocool@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrmocool@gmx.de --- Comment #1 from Trass3r <mrmocool@gmx.de> 2011-08-14 07:32:32 PDT --- *** Issue 6481 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 15, 2011 [Issue 2787] Members found in an 'alias this' are not implicitly accessible in methods | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2787 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |k.hara.pg@gmail.com --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2011-08-15 12:44:22 PDT --- https://github.com/D-Programming-Language/dmd/pull/312 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 25, 2011 [Issue 2787] Members found in an 'alias this' are not implicitly accessible in methods | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2787 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED --- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2011-08-24 22:35:02 PDT --- https://github.com/D-Programming-Language/dmd/commit/a1fd933b138f6f6a979d4b338fe8d72478b926a3 -- 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