diff trunk/src/dil/ast/Visitor.d @ 754:c7a5499faa77

Improved DDoc related code.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Wed, 13 Feb 2008 17:10:55 +0100
parents ca7607226caa
children e4b60543c5e8
line wrap: on
line diff
--- a/trunk/src/dil/ast/Visitor.d	Wed Feb 13 17:08:47 2008 +0100
+++ b/trunk/src/dil/ast/Visitor.d	Wed Feb 13 17:10:55 2008 +0100
@@ -94,7 +94,7 @@
   static assert(dispatch_vtable.length == classNames.length, "vtable length doesn't match number of classes");
 
   // Returns the dispatch function for n.
-  T function(Visitor,T) getDispatchFunction(T)(T n)
+  final T function(Visitor,T) getDispatchFunction(T)(T n)
   {
     return cast(T function(Visitor,T))dispatch_vtable[n.kind];
   }