Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyink committed Sep 23, 2022
1 parent 6e5ccdd commit aa3ad3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Sub/SymMethod.pm
Expand Up @@ -112,7 +112,7 @@ sub _extract_type_params_spec {
require Types::Standard;
my $excess = $tp{method} - 1;
$tp{method} = 1;
ref( $tp{head} ) ? push( @{ $tp{head} }, Types::Standard::Any() ) : ( $tp{head} += $excess );
ref( $tp{head} ) ? push( @{ $tp{head} }, ( Types::Standard::Any() ) x $excess ) : ( $tp{head} += $excess );
}
}

Expand Down

0 comments on commit aa3ad3d

Please sign in to comment.