]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Perform flow analysis on code in creation methods, fixes bug 566000
authorJürg Billeter <j@bitron.ch>
Fri, 9 Jan 2009 16:09:42 +0000 (16:09 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Fri, 9 Jan 2009 16:09:42 +0000 (16:09 +0000)
2009-01-09  Jürg Billeter  <j@bitron.ch>

* vala/valaflowanalyzer.vala:

Perform flow analysis on code in creation methods, fixes bug 566000

svn path=/trunk/; revision=2303

ChangeLog
vala/valaflowanalyzer.vala

index 834613b1232885015f5ecc1017f1a9e0fbcaf794..38f81c702b50bd741e8c3dbc2e8c9886588f398f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-09  Jürg Billeter  <j@bitron.ch>
+
+       * vala/valaflowanalyzer.vala:
+
+       Perform flow analysis on code in creation methods, fixes bug 566000
+
 2009-01-09  Jürg Billeter  <j@bitron.ch>
 
        * vala/valascanner.vala:
index 87bb257e6d6425fddf50fbeaea686af4b65813e1..bfd427e4bfed42e5730e74d56e5980f4656b187c 100644 (file)
@@ -1,6 +1,6 @@
 /* valaflowanalyzer.vala
  *
- * Copyright (C) 2008  Jürg Billeter
+ * Copyright (C) 2008-2009  Jürg Billeter
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -467,6 +467,10 @@ public class Vala.FlowAnalyzer : CodeVisitor {
                return versioned_var;
        }
 
+       public override void visit_creation_method (CreationMethod m) {
+               visit_method (m);
+       }
+
        public override void visit_property (Property prop) {
                prop.accept_children (this);
        }