comparison 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
comparison
equal deleted inserted replaced
50:adf6f7f216ea 51:b7d29f613539
32 } 32 }
33 } 33 }
34 34
35 Type syntaxCopy() 35 Type syntaxCopy()
36 { 36 {
37 assert(false); 37 //printf("TypeTypeof.syntaxCopy() %s\n", toChars());
38 TypeTypeof t;
39
40 t = new TypeTypeof(loc, exp.syntaxCopy());
41 t.syntaxCopyHelper(this);
42 t.mod = mod;
43 return t;
38 } 44 }
39 45
40 Dsymbol toDsymbol(Scope sc) 46 Dsymbol toDsymbol(Scope sc)
41 { 47 {
42 Type t = semantic(loc, sc); 48 Type t = semantic(loc, sc);