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); assert((cast(TypeInfo_Shared)ti).next == typeid(int)); // object.Error: Stack Overflow }
Related svn revision: 224 http://www.dsource.org/projects/dmd/changeset/224
Fixed dmd 2.036