Skip to content

Commit

Permalink
Checking type is not accidentally generated.
Browse files Browse the repository at this point in the history
As a matter of fact, the code mentioned is never called now. So it
might be a different error, but closes #1656
  • Loading branch information
JJ committed Dec 10, 2018
1 parent a13e8aa commit a624591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htmlify.p6
Expand Up @@ -631,7 +631,7 @@ sub find-definitions(:$pod, :$origin, :$min-level = -1, :$url) {
:categories($subkinds),
;
}
when 'class'|'role'|'enum' {
when 'class'|'role'|'enum' { # This is never called.
my $summary = '';
if @pod-section[$i+1] ~~ {$_ ~~ Pod::Block::Named and .name eq "SUBTITLE"} {
$summary = @pod-section[$i+1].contents[0].contents[0];
Expand Down

0 comments on commit a624591

Please sign in to comment.