[vala] dova: Fix symbol resolving in list, set, and map literals and tuples



commit d00b9d70cfffe71e9648da459e66b6b1cfc8bfd4
Author: Jürg Billeter <j bitron ch>
Date:   Sat Jul 3 11:48:20 2010 +0200

    dova: Fix symbol resolving in list, set, and map literals and tuples

 vala/valasymbolresolver.vala |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/vala/valasymbolresolver.vala b/vala/valasymbolresolver.vala
index eecc18f..abbac3b 100644
--- a/vala/valasymbolresolver.vala
+++ b/vala/valasymbolresolver.vala
@@ -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);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]