[Issue 12297] New: std.typecons.Proxy does not properly forward IFTI calls

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 4 06:08:10 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12297

           Summary: std.typecons.Proxy does not properly forward IFTI
                    calls
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: thecybershadow at gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-03-04 16:08:06 EET ---
//////////// 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);
}
////////////////////////////////

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list