http://d.puremagic.com/issues/show_bug.cgi?id=10795

           Summary: Bad return type of ParameterIdentifierTuple if there
                    is no arguments
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Temtaime <[email protected]> 2013-08-11 11:08:27 PDT ---
import std.stdio;
import std.traits;

void foo() {
}

void main() {
    enum arr = [ ParameterIdentifierTuple!foo ];
    writeln(typeof(arr).stringof);
}

Prints:
void[]

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

Reply via email to