diff --git a/dmd2/expression.c b/dmd2/expression.c index f0631e1e..79d80a02 100644 --- a/dmd2/expression.c +++ b/dmd2/expression.c @@ -8483,7 +8483,9 @@ Expression *DelegateExp::semantic(Scope *sc) if (!type) { e1 = e1->semantic(sc); -#if IN_LLVM +#if 0 + // With 2.064 this code creates failures in runnable/funclit.d + // and runnable/functype.d. Without it, everything looks fine. // LDC we need a copy as we store the LLVM type in TypeFunction, // and delegate/members have different types for 'this' Type *funcType = func->type->syntaxCopy();