diff --git a/dmd2/aggregate.h b/dmd2/aggregate.h index 620f6f00..df9cae7f 100644 --- a/dmd2/aggregate.h +++ b/dmd2/aggregate.h @@ -217,8 +217,6 @@ struct UnionDeclaration : StructDeclaration UnionDeclaration *isUnionDeclaration() { return this; } }; -// warning: two classes with the same base class share the same -// BaseClass instance. struct BaseClass { Type *type; // (before semantic processing) diff --git a/dmd2/arrayop.c b/dmd2/arrayop.c index bac8391a..17b90dad 100644 --- a/dmd2/arrayop.c +++ b/dmd2/arrayop.c @@ -108,6 +108,7 @@ bool isArrayOpValid(Expression *e) Expression *BinExp::arrayOp(Scope *sc) { + //printf("BinExp::arrayOp() %s\n", toChars()); Type *tb = type->toBasetype(); assert(tb->ty == Tarray || tb->ty == Tsarray);