Thread overview | ||||||
---|---|---|---|---|---|---|
|
March 30, 2013 [Issue 9836] New: std.array.popFront does not work with alias this. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9836 Summary: std.array.popFront does not work with alias this. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: tobias@pankrath.net --- Comment #0 from Tobias Pankrath <tobias@pankrath.net> 2013-03-30 06:51:40 PDT --- --- struct Wrapper { int[] data; alias data this; }; void main() { Wrapper w = Wrapper([1,2,3,4]); std.array.popFront(w); // compile time error: no working overload for popFront. --- std.array.popFront should work with subtypes of T[] created via alias this. See also: #9835 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 30, 2013 [Issue 9836] std.array.popFront does not work with alias this. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tobias Pankrath | http://d.puremagic.com/issues/show_bug.cgi?id=9836 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, rejects-valid --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-03-30 09:10:00 PDT --- https://github.com/D-Programming-Language/phobos/pull/1233 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 05, 2013 [Issue 9836] std.array.popFront does not work with alias this. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tobias Pankrath | http://d.puremagic.com/issues/show_bug.cgi?id=9836 --- Comment #2 from github-bugzilla@puremagic.com 2013-04-05 06:56:26 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/53640bf04657e6a8933152b072010d15ac0a8a1c fix Issue 9836 - std.array.popFront does not work with alias this. empty, front, popFront, back, popBack should work with alias this type. https://github.com/D-Programming-Language/phobos/commit/41561d8cf8aa7b69bbebb49f8b8e662a60f8496e Merge pull request #1233 from 9rnsr/fix9836 Issue 9836 - std.array.popFront does not work with alias this. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 05, 2013 [Issue 9836] std.array.popFront does not work with alias this. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tobias Pankrath | http://d.puremagic.com/issues/show_bug.cgi?id=9836 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich@gmail.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