www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: thecybershadow gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow 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: -------
Mar 04 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12297


Vladimir Panteleev <thecybershadow gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Vladimir Panteleev <thecybershadow gmail.com> 2014-03-04
17:04:55 EET ---
https://github.com/D-Programming-Language/phobos/pull/1980

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 04 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12297


Stanislav Blinov <stanislav.blinov gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |stanislav.blinov gmail.com
         Resolution|                            |DUPLICATE


--- Comment #2 from Stanislav Blinov <stanislav.blinov gmail.com> 2014-03-04
09:10:10 PST ---
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 ***

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