visit finally body, fixes bug 467919
authorJuerg Billeter <j@bitron.ch>
Sat, 1 Sep 2007 12:09:48 +0000 (12:09 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sat, 1 Sep 2007 12:09:48 +0000 (12:09 +0000)
2007-09-01  Juerg Billeter  <j@bitron.ch>

* vala/valatrystatement.vala: visit finally body, fixes bug 467919

svn path=/trunk/; revision=562

ChangeLog
vala/valatrystatement.vala

index 32d3f16..4cfbfb7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-09-01  Jürg Billeter  <j@bitron.ch>
 
+       * vala/valatrystatement.vala: visit finally body, fixes bug 467919
+
+2007-09-01  Jürg Billeter  <j@bitron.ch>
+
        * configure.ac: add xsltproc as optional dependency
        * doc/vala/: add initial structure for the Vala Reference Manual, will
          be built and installed if xsltproc is available
index ad2f73c..3a4318b 100644 (file)
@@ -78,5 +78,9 @@ public class Vala.TryStatement : CodeNode, Statement {
                foreach (CatchClause clause in catch_clauses) {
                        clause.accept (visitor);
                }
+
+               if (finally_body != null) {
+                       finally_body.accept (visitor);
+               }
        }
 }