summaryrefslogtreecommitdiff
path: root/vala
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2014-09-06 09:32:09 +0200
committerLuca Bruno <lucabru@src.gnome.org>2014-09-06 10:05:38 +0200
commit9bf7a115525ab76ec71a7763c9e60b5ecaccac2e (patch)
treed29a07ce2144521f25d5040becb5b0562f89c6df /vala
parentba1fa0759989dcbb9046c7dfc06cce6c4aa23411 (diff)
downloadvala-9bf7a115525ab76ec71a7763c9e60b5ecaccac2e.tar.gz
Fix critical on method varargs introduced by 7b6ee1be
Fixes bug 736168
Diffstat (limited to 'vala')
-rw-r--r--vala/valasemanticanalyzer.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valasemanticanalyzer.vala b/vala/valasemanticanalyzer.vala
index 2f1be1b7e..20600d3e4 100644
--- a/vala/valasemanticanalyzer.vala
+++ b/vala/valasemanticanalyzer.vala
@@ -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) {