Mercurial > projects > ddmd
diff dmd/IsExp.d @ 109:ceda59b4d255
expression.c changes, now only ddoc should be left
author | Trass3r |
---|---|
date | Tue, 31 Aug 2010 22:08:52 +0200 |
parents | 2e2a5c3f943a |
children | 12c0c84d13fd |
line wrap: on
line diff
--- a/dmd/IsExp.d Tue Aug 31 21:41:01 2010 +0200 +++ b/dmd/IsExp.d Tue Aug 31 22:08:52 2010 +0200 @@ -83,6 +83,7 @@ Type tded; /* is(targ id tok tspec) + * is(targ id : tok2) * is(targ id == tok2) */ @@ -238,14 +239,13 @@ * If true, declare id as an alias for the specialized type. */ - MATCH m; assert(parameters && parameters.dim); scope Objects dedtypes = new Objects(); dedtypes.setDim(parameters.dim); dedtypes.zero(); - m = targ.deduceType(null, tspec, parameters, dedtypes); + MATCH m = targ.deduceType(null, tspec, parameters, dedtypes); if (m == MATCHnomatch || (m != MATCHexact && tok == TOKequal)) {