Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
April 06, 2013 [Issue 9890] New: Alias This + Static Fields | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9890 Summary: Alias This + Static Fields Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: dsimcha@yahoo.com --- Comment #0 from David Simcha <dsimcha@yahoo.com> 2013-04-06 08:29:38 PDT --- Test program: struct RefCounted(T) { T _payload; ref T refCountedPayload() { return _payload; } alias refCountedPayload this; } struct S(int x_) { alias x_ x; } alias RefCounted!(S!1) Rs; static assert(Rs.x == 1); Version <= 2.060: Works Version >= 2.061: test.d(22): Error: need 'this' for refCountedPayload type ref S!(1)() -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 06, 2013 [Issue 9890] Alias This + Static Fields | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Simcha | http://d.puremagic.com/issues/show_bug.cgi?id=9890 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-04-06 11:12:57 PDT --- I don't see any static fields here. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 06, 2013 [Issue 9890] Alias This + Alias Fields | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Simcha | http://d.puremagic.com/issues/show_bug.cgi?id=9890 David Simcha <dsimcha@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Alias This + Static Fields |Alias This + Alias Fields --- Comment #2 from David Simcha <dsimcha@yahoo.com> 2013-04-06 11:39:55 PDT --- Misspoke. I meant compile-time fields, aliases and possibly others that I haven't tested. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 08, 2013 [Issue 9890] Alias This + Alias Fields | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Simcha | http://d.puremagic.com/issues/show_bug.cgi?id=9890 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, rejects-valid --- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2013-04-07 22:34:40 PDT --- https://github.com/D-Programming-Language/dmd/pull/1867 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 08, 2013 [Issue 9890] Alias This + Alias Fields | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Simcha | http://d.puremagic.com/issues/show_bug.cgi?id=9890 --- Comment #4 from github-bugzilla@puremagic.com 2013-04-08 15:25:40 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7298424fae54a09c08df75f2444db0ff5f0ddfc4 fix Issue 9890 - Alias This + Alias Fields https://github.com/D-Programming-Language/dmd/commit/1d56f71cb1e737d9165c2a5c957ceae299c7d0ae Merge pull request #1867 from 9rnsr/fix9890 [REG2.061] Issue 9890 - Alias This + Alias Fields -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 08, 2013 [Issue 9890] Alias This + Alias Fields | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Simcha | http://d.puremagic.com/issues/show_bug.cgi?id=9890 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |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