http://d.puremagic.com/issues/show_bug.cgi?id=6029
--- Comment #5 from Trass3r <mrmoc...@gmx.de> 2011-11-03 08:43:09 PDT --- caused by mtype.c: // 'from' is A and 'to' is int static MATCH aliasthisConvTo(AggregateDeclaration *ad, Type *from, Type *to) { assert(ad->aliasthis); Declaration *d = ad->aliasthis->isDeclaration(); if (d) { assert(d->type); Type *t = d->type; // <-- gets struct type A again if (d->isVarDeclaration() && d->needThis()) { t = t->addMod(from->mod); } ... MATCH m = t->implicitConvTo(to); Guess it should be caught earlier though. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------