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

           Summary: Nonuniform treatment of built-in types and user-defined
                    types in value syntax
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzi...@digitalmars.com
        ReportedBy: and...@metalanguage.com


The following code doesn't compile and it should:

alias int A;

void main()
{
    auto x = A(4);
}

All types, built-in and user-defined, must offer the ability of construction
with type name followed by a parenthesized list of arguments.


-- 

Reply via email to