More trivial upstream alignment.

This commit is contained in:
David Nadlinger
2013-06-07 19:44:04 +02:00
parent dcfc61cf3f
commit bf4d679e1a
2 changed files with 1 additions and 2 deletions

View File

@@ -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)

View File

@@ -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);