mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-30 01:00:19 +02:00
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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user