Mercurial > projects > dil
diff trunk/src/dil/ast/NodeCopier.d @ 804:9e6c6bb73e5f
Implemented visit methods for some type nodes.
Added method SemanticPass2.search().
Added methods arrayOf() and arrayOf(Type) to class Type.
Refactored ModuleScopeType.
Added error msg UndefinedIdentifier.
Added release.py.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sat, 08 Mar 2008 22:02:20 +0100 |
parents | 5fe89bb8cbdd |
children |
line wrap: on
line diff
--- a/trunk/src/dil/ast/NodeCopier.d Fri Mar 07 11:46:56 2008 +0100 +++ b/trunk/src/dil/ast/NodeCopier.d Sat Mar 08 22:02:20 2008 +0100 @@ -274,6 +274,7 @@ { //IllegalType, //IntegralType, + //ModuleScopeType, //IdentifierType have no subnodes. static if (is(T == QualifiedType)) mixin(doCopy(["lhs", "rhs"])); @@ -289,8 +290,7 @@ mixin(doCopy(["returnType", "params"])); static if (is(T == CFuncPointerType)) mixin(doCopy(["next", "params?"])); - static if (is(T == ModuleScopeType) || - is(T == BaseClassType) || + static if (is(T == BaseClassType) || is(T == ConstType) || is(T == InvariantType)) mixin(doCopy("next"));