[Issue 15199] New: Cannot Resolve Type When Calling stringof Property of a Template

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Oct 12 22:56:09 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=15199

          Issue ID: 15199
           Summary: Cannot Resolve Type When Calling stringof Property of
                    a Template
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: monkeyworks12 at hotmail.com

void main()
{
    struct Test
    {
        auto ref I(T)(auto ref T t) { return t; }
    }

    Test t;
        //Error: cannot resolve type for t.I(T)(auto ref T t)
    pragma(msg, t.I.stringof);
}

Related:

https://issues.dlang.org/show_bug.cgi?id=14184

--


More information about the Digitalmars-d-bugs mailing list