This is the DustMite reduction: struct Bla { this(objects) { } } Error: undefined identifier objects, did you mean import object? _error_ 0x18d5830 ty = 35 dmd: mtype.c:145: virtual Type* Type::syntaxCopy(): Assertion `0' failed.
This is more like the original problem: struct Blub { // alias int type; } struct Bla(T) { this(T.type t) // doesn't happen with a normal method { } } alias Bla!Blub gg; Error: no property 'type' for type 'Blub' Error: T.type is used as a type 1: _error_ 0x1620830 ty = 35 dmd: mtype.c:145: virtual Type* Type::syntaxCopy(): Assertion `0' failed.
Seems like this has been fixed in the meantime.