Summary: typedefs ignore const, shared, immutable etc modifiers
                    when implicitly converting
           Product: D
           Version: D1
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from yebblies <> 2011-08-30 01:45:15 EST ---
The following compiles without error on dmd2.055 head, although it includes
casting shared(void*) to void* and const(void*) to void*.  alias doesn't not
have the same problems.

void main()
    typedef void* A;
    void AA(A a) {}
    shared A a;
    const A b;

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to