import dmd.globals : Loc; Expression e = new TypeidExp(Loc.initial, null); Tuple t = new Tuple(); TemplateTypeParameter tp = new TemplateTypeParameter(Loc.initial, null, null, null); assert(e.astTypeName == "TypeidExp"); assert(t.astTypeName == "Tuple"); assert(tp.astTypeName == "TemplateTypeParameter");