Commit fedb16b1 authored by Jürg Billeter's avatar Jürg Billeter
Browse files

Report error for signals with variable argument lists

Fixes bug 683922.
parent 7dd0292f
/* valasignal.vala
* Copyright (C) 2006-2011 Jürg Billeter
* Copyright (C) 2006-2012 Jürg Billeter
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
......@@ -184,6 +184,11 @@ public class Vala.Signal : Symbol, Lockable {
return_type.check (context);
foreach (Parameter param in parameters) {
if (param.ellipsis) {
Report.error (param.source_reference, "Signals with variable argument lists are not supported");
return false;
param.check (context);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment