]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Allow running the symbol resolver more than once
authorAbderrahim Kitouni <a.kitouni@gmail.com>
Tue, 1 Jun 2010 18:47:04 +0000 (19:47 +0100)
committerJürg Billeter <j@bitron.ch>
Sun, 6 Jun 2010 18:16:11 +0000 (20:16 +0200)
Fixes bug 620753.

vala/valasymbolresolver.vala

index d5adcd3444cd4bce32ce912e31d2af2c1ea128a0..eecc18ff13c10eadc441a46f7082b116278aae52 100644 (file)
@@ -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) {