diff trunk/src/dil/ast/DefaultVisitor.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 cf2ad5df025c
children
line wrap: on
line diff
--- a/trunk/src/dil/ast/DefaultVisitor.d	Fri Mar 07 11:46:56 2008 +0100
+++ b/trunk/src/dil/ast/DefaultVisitor.d	Sat Mar 08 22:02:20 2008 +0100
@@ -287,6 +287,7 @@
   {
     //IllegalType,
     //IntegralType,
+    //ModuleScopeType,
     //IdentifierType have no subnodes.
     static if (is(T == QualifiedType))
       visitT(t.lhs), visitT(t.rhs);
@@ -308,8 +309,7 @@
       visitT(t.returnType), visitN(t.params);
     static if (is(T == CFuncPointerType))
       visitT(t.next), t.params && visitN(t.params);
-    static if (is(T == ModuleScopeType) ||
-               is(T == BaseClassType) ||
+    static if (is(T == BaseClassType) ||
                is(T == ConstType) ||
                is(T == InvariantType))
       visitT(t.next);