]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix critical on method varargs introduced by 7b6ee1be
authorLuca Bruno <lucabru@src.gnome.org>
Sat, 6 Sep 2014 07:32:09 +0000 (09:32 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Sat, 6 Sep 2014 08:05:38 +0000 (10:05 +0200)
Fixes bug 736168

vala/valasemanticanalyzer.vala

index 2f1be1b7eb617bef80ca9465f6ac6145950a044c..20600d3e44600c87e6429c5ac4be4c3fed1e7035 100644 (file)
@@ -571,7 +571,7 @@ public class Vala.SemanticAnalyzer : CodeVisitor {
                return true;
        }
 
-       public bool check_variadic_arguments (Iterator<Expression> arg_it, int i, SourceReference source_reference) {
+       public bool check_variadic_arguments (Iterator<Expression>? arg_it, int i, SourceReference source_reference) {
                while (arg_it != null && arg_it.next ()) {
                        var arg = arg_it.get ();
                        if (arg.error) {