]> 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)
committerLuca Bruno <lucabru@src.gnome.org>
Tue, 31 May 2011 14:39:52 +0000 (16:39 +0200)
vala/valapostfixexpression.vala

index 9d9b68415cbfca68f0a2946afdc67a5ee2880c72..37745c36c8b05b202dbe6b9e59270de534d7b175 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;