Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Silence an uninitialized variable warning from gen-usage()
  • Loading branch information
Tadeusz Sośnierz committed Apr 22, 2012
1 parent 48dd7cd commit 19370a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Main.pm
Expand Up @@ -125,7 +125,7 @@ my sub MAIN_HELPER($retval = 0) is hidden_from_backtrace {
}
}
else {
my $constraints = ~$param.constraint_list;
my $constraints = $param.constraint_list.map(*.gist).join(' ');
my $simple-const = $constraints && $constraints !~~ /^_block/;
$argument = $param.name ?? '<' ~ $param.name.substr(1) ~ '>' !!
$simple-const ?? $constraints !!
Expand Down

0 comments on commit 19370a1

Please sign in to comment.