Mercurial > projects > ddmd
diff dmd/CatAssignExp.d @ 117:fe941d774f4a
+ ctfe of assign operations
author | Trass3r |
---|---|
date | Thu, 02 Sep 2010 02:50:19 +0200 |
parents | e28b18c23469 |
children | 60bb0fe4563e |
line wrap: on
line diff
--- a/dmd/CatAssignExp.d Thu Sep 02 02:49:29 2010 +0200 +++ b/dmd/CatAssignExp.d Thu Sep 02 02:50:19 2010 +0200 @@ -20,6 +20,7 @@ import dmd.backend.TYM; import dmd.backend.mTY; +import dmd.expression.Cat; import dmd.expression.Util; class CatAssignExp : BinExp @@ -84,7 +85,7 @@ override Expression interpret(InterState istate) { - assert(false); + return interpretAssignCommon(istate, &Cat); } override Identifier opId() /* For operator overloading */