Introducing opaque type to dmd frontent to be used with certain runtime array

and aa args and returns. There are still some bugs with aas.
This commit is contained in:
Christian Kamm
2008-07-22 23:06:46 +02:00
parent 566eac93fe
commit 8f20b1ed00
8 changed files with 60 additions and 195 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ Expression *Type::getTypeInfo(Scope *sc)
}
}
e = new VarExp(0, t->vtinfo);
//e = e->addressOf(sc);
e = e->addressOf(sc);
e->type = t->vtinfo->type; // do this so we don't get redundant dereference
return e;
}