Bug 12297 – std.typecons.Proxy does not properly forward IFTI calls

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-03-04T06:08:00Z
Last change time
2014-08-14T00:40:51Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
dlang-bugzilla

Comments

Comment #0 by dlang-bugzilla — 2014-03-04T06:08:06Z
//////////// test.d //////////// import std.typecons; struct S { void fun(Args...)(Args args) { } } struct Test { S s; mixin Proxy!s; } void test() { Test test; test.fun(4); } ////////////////////////////////
Comment #1 by dlang-bugzilla — 2014-03-04T07:04:55Z
Comment #2 by stanislav.blinov — 2014-03-04T09:10:10Z
This issue is a bit more complicated, see https://d.puremagic.com/issues/show_bug.cgi?id=11947 and the corresponding pull (still in progress). *** This issue has been marked as a duplicate of issue 11947 ***
Comment #3 by github-bugzilla — 2014-08-14T00:40:50Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/dcef926c3a7fffefeaec6fd2f9e82c994ca1e390 fix Issue 12297 - std.typecons.Proxy does not properly forward IFTI calls https://github.com/D-Programming-Language/phobos/commit/15a60b42a6f4f1181a005e31f638aa626c6c6ba0 Merge pull request #1980 from CyberShadow/fix12297 fix Issue 12297 - std.typecons.Proxy does not properly forward IFTI calls