Bug 14213 – Strange deprecated message in std.typecons.Proxy with using method

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-02-21T17:15:00Z
Last change time
2017-07-19T17:42:28Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
zan77137

Comments

Comment #0 by zan77137 — 2015-02-21T17:15:35Z
This code doesn't work(git HEAD): ----------------------- import std.typecons, std.stdio; struct A { int foo(){return 1;} mixin Proxy!foo; // std\typecons.d(4408): Deprecation: casting from int delegate() to const(void*) is deprecated } struct B { int foo(){return 1;} alias foo this; // OK } void main() { A a; B b; writeln(a + 1); writeln(b + 2); }
Comment #1 by dlang-bugzilla — 2015-03-04T04:14:14Z
Comment #2 by k.hara.pg — 2015-03-07T01:54:09Z
Comment #3 by github-bugzilla — 2015-03-09T09:45:48Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/6a8345bbc6a06cc86f183674d03160797c551c85 fix Issue 14213 - Strange deprecated message in std.typecons.Proxy with using method https://github.com/D-Programming-Language/phobos/commit/50c65e57fb269d14990d54154400408851c877a6 Merge pull request #3043 from 9rnsr/fix14213 [REG2.067a] Issue 14213 - Strange deprecated message in std.typecons.Proxy with using method
Comment #4 by github-bugzilla — 2015-03-10T11:46:21Z
Commit pushed to 2.067 at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/b8627ba4f639f57a079fbba2b93a913d91404f6b Merge pull request #3043 from 9rnsr/fix14213 [REG2.067a] Issue 14213 - Strange deprecated message in std.typecons.Proxy with using method
Comment #5 by github-bugzilla — 2015-04-11T12:24:59Z
Comment #6 by github-bugzilla — 2017-07-19T17:42:28Z
Commits pushed to dmd-cxx at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/6a8345bbc6a06cc86f183674d03160797c551c85 fix Issue 14213 - Strange deprecated message in std.typecons.Proxy with using method https://github.com/dlang/phobos/commit/50c65e57fb269d14990d54154400408851c877a6 Merge pull request #3043 from 9rnsr/fix14213