Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -r af31ff7a68c6 dmd/mtype.c
- --- a/dmd/mtype.c Mon Oct 04 00:58:14 2010 +0200
- +++ b/dmd/mtype.c Sun Oct 10 20:46:31 2010 +0200
- @@ -1910,16 +1910,23 @@ void TypeSArray::resolve(Loc loc, Scope
- return;
- }
- if (o->dyncast() == DYNCAST_EXPRESSION)
- {
- *ps = NULL;
- *pe = (Expression *)o;
- return;
- }
- + if (o->dyncast() == DYNCAST_TYPE)
- + {
- + *ps = NULL;
- + *pe = NULL;
- + *pt = (Type *)o;
- + return;
- + }
- /* Create a new TupleDeclaration which
- * is a slice [d..d+1] out of the old one.
- * Do it this way because TemplateInstance::semanticTiargs()
- * can handle unresolved Objects this way.
- */
- Objects *objects = new Objects;
- objects->setDim(1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement