Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #513 from Coleoid/master
@opts compilation error fix
  • Loading branch information
jonathanstowe committed May 13, 2016
2 parents 0764762 + 85581a9 commit edf96f5
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 edf96f5

Please sign in to comment.