diff trunk/src/dil/ast/Type.d @ 737:f88b5285b86b

Implemented DDocEmitter. Fixed quite a few bugs.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sat, 09 Feb 2008 02:00:20 +0100
parents 65ad2f96df1f
children 5e3ef1b2011c
line wrap: on
line diff
--- a/trunk/src/dil/ast/Type.d	Mon Feb 04 21:55:44 2008 +0200
+++ b/trunk/src/dil/ast/Type.d	Sat Feb 09 02:00:20 2008 +0100
@@ -24,4 +24,12 @@
     addOptChild(next);
     this.next = next;
   }
+
+  TypeNode baseType()
+  {
+    auto type = this;
+    while (type.next)
+      type = type.next;
+    return type;
+  }
 }