diff --git a/dmd2/cast.c b/dmd2/cast.c index dd9c1198..c8ab56a6 100644 --- a/dmd2/cast.c +++ b/dmd2/cast.c @@ -617,11 +617,13 @@ MATCH AddrExp::implicitConvTo(Type *t) t->ty == Tpointer && t->nextOf()->ty == Tfunction && e1->op == TOKvar) { +#if !IN_LLVM /* I don't think this can ever happen - * it should have been * converted to a SymOffExp. */ assert(0); +#endif VarExp *ve = (VarExp *)e1; FuncDeclaration *f = ve->var->isFuncDeclaration(); if (f && f->overloadExactMatch(t->nextOf(), m))