]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
dova: Fix symbol resolving in list, set, and map literals and tuples
authorJürg Billeter <j@bitron.ch>
Sat, 3 Jul 2010 09:48:20 +0000 (11:48 +0200)
committerJürg Billeter <j@bitron.ch>
Sat, 3 Jul 2010 10:47:59 +0000 (12:47 +0200)
vala/valasymbolresolver.vala

index eecc18ff13c10eadc441a46f7082b116278aae52..abbac3b14534ae0ea3f1730d90d03338bc24c81c 100644 (file)
@@ -474,6 +474,22 @@ public class Vala.SymbolResolver : CodeVisitor {
                tmpl.accept_children (this);
        }
 
+       public override void visit_list_literal (ListLiteral lit) {
+               lit.accept_children (this);
+       }
+
+       public override void visit_set_literal (SetLiteral lit) {
+               lit.accept_children (this);
+       }
+
+       public override void visit_map_literal (MapLiteral lit) {
+               lit.accept_children (this);
+       }
+
+       public override void visit_tuple (Tuple tuple) {
+               tuple.accept_children (this);
+       }
+
        public override void visit_member_access (MemberAccess expr) {
                expr.accept_children (this);
        }