[vala] Allow running the symbol resolver more than once



commit 2bfd071697202f610e66e412aba8fe3dc5abc2ef
Author: Abderrahim Kitouni <a kitouni gmail com>
Date:   Tue Jun 1 19:47:04 2010 +0100

    Allow running the symbol resolver more than once
    
    Fixes bug 620753.

 vala/valasymbolresolver.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vala/valasymbolresolver.vala b/vala/valasymbolresolver.vala
index d5adcd3..eecc18f 100644
--- a/vala/valasymbolresolver.vala
+++ b/vala/valasymbolresolver.vala
@@ -58,6 +58,7 @@ public class Vala.SymbolResolver : CodeVisitor {
 
 		cl.accept_children (this);
 
+		cl.base_class = null;
 		foreach (DataType type in cl.get_base_types ()) {
 			if (type.data_type is Class) {
 				if (cl.base_class != null) {



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