]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Collect used variables in postfix expression for flow analysis
authorLuca Bruno <lucabru@src.gnome.org>
Tue, 31 May 2011 14:33:40 +0000 (16:33 +0200)
committerJürg Billeter <j@bitron.ch>
Tue, 31 May 2011 19:06:41 +0000 (21:06 +0200)
vala/valapostfixexpression.vala

index 065381ae096c83178d98a00f9ad58a11d0169d55..5d7add33d33611bea21b5bb3ce84e03f9c7043bb 100644 (file)
@@ -64,6 +64,10 @@ public class Vala.PostfixExpression : Expression {
                return false;
        }
 
+       public override void get_used_variables (Collection<LocalVariable> collection) {
+               inner.get_used_variables (collection);
+       }
+
        public override bool check (CodeContext context) {
                if (checked) {
                        return !error;