changeset 43:a509c8688fbd

CondExp.syntaxCopy
author korDen
date Sat, 21 Aug 2010 07:20:15 +0400
parents 24674203f62c
children ea4769860460
files dmd/CondExp.d
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dmd/CondExp.d	Sat Aug 21 07:19:03 2010 +0400
+++ b/dmd/CondExp.d	Sat Aug 21 07:20:15 2010 +0400
@@ -37,7 +37,7 @@
 	
     Expression syntaxCopy()
 	{
-		assert(false);
+		return new CondExp(loc, econd.syntaxCopy(), e1.syntaxCopy(), e2.syntaxCopy());
 	}
 
     Expression semantic(Scope sc)