diff trunk/src/dil/ast/Node.d @ 671:f1325a4506de

Removed enum TID from dil.ast.Types. Renamed UndefinedType to IllegalType.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Thu, 17 Jan 2008 22:57:36 +0100
parents 15a0f37caabe
children 64fec49651cf
line wrap: on
line diff
--- a/trunk/src/dil/ast/Node.d	Thu Jan 17 22:28:04 2008 +0100
+++ b/trunk/src/dil/ast/Node.d	Thu Jan 17 22:57:36 2008 +0100
@@ -35,6 +35,7 @@
 
   this(NodeCategory category)
   {
+    assert(category != NodeCategory.Undefined);
     this.category = category;
   }