Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
@opts compilation error fix third time charm
  • Loading branch information
Coleoid committed May 13, 2016
1 parent 6222b5f commit 85581a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/p6doc
Expand Up @@ -163,12 +163,12 @@ sub disambiguate-f-search($docee, %data) {
for %found.keys -> $key {
%options{$key}.push: %found{$key};
}
my @opts = %options.values.map({ @($^a) });

# 's' => Type::Supply.grep, ... | and we specifically want the %found values,
# | not the presentation-versions in %options
if INTERACT {
my $total-elems = %found.values.map( +* ).sum;
my @opts = %options.values.map({ @($^a) });
if +%found.keys < $total-elems {
my @prefixes = (1..$total-elems) X~ ") ";
say "\t" ~ ( @prefixes Z~ @opts ).join("\n\t") ~ "\n";
Expand Down

0 comments on commit 85581a9

Please sign in to comment.