diff dmd/TypeTypeof.d @ 51:b7d29f613539

StaticAssertStatement.syntaxCopy IfStatement.syntaxCopy CompoundDeclarationStatement.syntaxCopy VoidInitializer.syntaxCopy TypeAArray.syntaxCopy TypeTypeof.syntaxCopy TypeAArray.resolve TypeSArray.deduceType TypeAArray.deduceType TypeAArray.implicitConvTo TemplateDeclaration.leastAsSpecialized TemplateTypeParameter.dummyArg TypeIdentifier.deduceType TemplateTypeParameter.syntaxCopy Lexer.hexStringConstant Lexer.delimitedStringConstant GotoDefaultStatement.ctor CaseRangeStatement.ctor Type.castMod StorageClassDeclaration.syntaxCopy TemplateDeclaration.syntaxCopy
author korDen
date Sat, 21 Aug 2010 11:17:42 +0400
parents 10317f0c89a5
children a8740d0dbea4
line wrap: on
line diff
--- a/dmd/TypeTypeof.d	Sat Aug 21 10:38:26 2010 +0400
+++ b/dmd/TypeTypeof.d	Sat Aug 21 11:17:42 2010 +0400
@@ -34,7 +34,13 @@
 	
     Type syntaxCopy()
 	{
-		assert(false);
+		//printf("TypeTypeof.syntaxCopy() %s\n", toChars());
+		TypeTypeof t;
+
+		t = new TypeTypeof(loc, exp.syntaxCopy());
+		t.syntaxCopyHelper(this);
+		t.mod = mod;
+		return t;
 	}
 	
     Dsymbol toDsymbol(Scope sc)