diff sema/Visitor.d @ 102:cd066f3b539a new_gen

Parsing methods in structs - error on semantics though.
author Anders Johnsen <skabet@gmail.com>
date Thu, 08 May 2008 10:32:41 +0200
parents fea8d61a2451
children 89db676fbacb
line wrap: on
line diff
--- a/sema/Visitor.d	Wed May 07 19:58:13 2008 +0200
+++ b/sema/Visitor.d	Thu May 08 10:32:41 2008 +0200
@@ -158,7 +158,7 @@
     {
         visitExp(s.identifier);
 
-        foreach (arg; s.vars)
+        foreach (arg; s.decls)
             visitDecl(arg);
 
         static if (is(DeclT == void))