Skip to content

Commit 749e16c

Browse files
committed
Display things which are 'Cool' so 'p6doc -f codes' for example works
1 parent 2e6a2a5 commit 749e16c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/p6doc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ sub disambiguate-f-search( $docee, %data ) {
129129
my $ndocee = $pref ~ " " ~ $docee;
130130

131131
if %data{$ndocee} {
132-
my @types = %data{$ndocee}.values>>.Str.grep({ $^v ~~ /^ 'Type' / and not $^v ~~ / 'Cool' $ / });
132+
my @types = %data{$ndocee}.values>>.Str.grep({ $^v ~~ /^ 'Type' / });
133133
@types = [gather @types.deepmap(*.take)].unique.list;
134134
@types.=grep({!/$pref/});
135135
%found{$ndocee}.push: @types X~ "." ~ $docee;

0 commit comments

Comments
 (0)