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

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