comparison dmd/StaticAssertStatement.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 2e2a5c3f943a
comparison
equal deleted inserted replaced
50:adf6f7f216ea 51:b7d29f613539
17 this.sa = sa; 17 this.sa = sa;
18 } 18 }
19 19
20 Statement syntaxCopy() 20 Statement syntaxCopy()
21 { 21 {
22 assert(false); 22 StaticAssertStatement s = new StaticAssertStatement(cast(StaticAssert)sa.syntaxCopy(null));
23 return s;
23 } 24 }
24 25
25 Statement semantic(Scope sc) 26 Statement semantic(Scope sc)
26 { 27 {
27 sa.semantic2(sc); 28 sa.semantic2(sc);