Skip to content

Commit 7cd718e

Browse files
committed
Fix syntax error
1 parent 6770eb8 commit 7cd718e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

htmlify.p6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ sub find-definitions (:$pod, :$origin, :$min-level = -1) {
328328
my @definitions; # [subkind, name]
329329
my $unambiguous = False;
330330
given @header {
331-
when :("", Pod::FormattingCode $fc, "") {
331+
when :("", Pod::FormattingCode $, "") {
332+
my $fc := .[1];
332333
proceed unless $fc.type eq "X";
333334
@definitions = $fc.meta[0].flat;
334335
$unambiguous = True;

0 commit comments

Comments
 (0)