Mercurial > projects > ddmd
diff dmd/DotTypeExp.d @ 129:010eb8f0e18d
further work on dmd test suite
author | korDen |
---|---|
date | Sun, 05 Sep 2010 15:32:22 +0400 |
parents | e28b18c23469 |
children | e3afd1303184 |
line wrap: on
line diff
--- a/dmd/DotTypeExp.d Sat Sep 04 01:33:05 2010 +0100 +++ b/dmd/DotTypeExp.d Sun Sep 05 15:32:22 2010 +0400 @@ -14,6 +14,8 @@ import dmd.PREC; import dmd.expression.Util; +import dmd.backend.Util; + class DotTypeExp : UnaExp { Dsymbol sym; @@ -43,7 +45,13 @@ override elem* toElem(IRState* irs) { - assert(false); + // Just a pass-thru to e1 + elem *e; + + //printf("DotTypeExp.toElem() %s\n", toChars()); + e = e1.toElem(irs); + el_setLoc(e,loc); + return e; } }