Summary: typeid(shared(T)) generates wrong value
           Product: D
           Version: 2.032
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Kasumi Hanazuki <> 2009-09-28 09:16:19 
PDT ---
Typeid of a shared type is incorrect.
Its .next seems referring to it circularly.


void main() {
    auto ti = typeid(shared(int));


    assert((cast(TypeInfo_Shared)ti).next == typeid(int));
        // object.Error: Stack Overflow

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

Reply via email to