зеркало из https://github.com/mozilla/gecko-dev.git
Removing the @arguments array from a dump statement, because if any of the elements in the array are undef then a runtime warning is printed (undef elements is not always a bug).
This commit is contained in:
Родитель
ac58840368
Коммит
2913cffeec
|
@ -48,7 +48,7 @@ sub dispatch {
|
|||
my $method = $self->can($name);
|
||||
local $" = '\', \'';
|
||||
if ($method) {
|
||||
$self->dump(10, "Attempting to dispatch method: $self->$name('$app', '@arguments')");
|
||||
$self->dump(10, "Attempting to dispatch method: $self->$name('$app', ...)"); # can't mention @arguments in string since it might contain undefs
|
||||
&$method($self, $app, @arguments);
|
||||
return 1;
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче