Skip to content

Commit

Permalink
A well-placed &flat brings us error-free through htmlify.p6 --sparse=20
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Sep 13, 2015
1 parent 9da3bba commit fd6abbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htmlify.p6
Expand Up @@ -424,7 +424,7 @@ sub find-definitions (:$pod, :$origin, :$min-level = -1) {
$created.url ~ "#$origin.human-kind() $origin.name()".subst(:g, /\s+/, '_')
]
);
my @orig-chunk = $new-head, @pod-section[$i ^.. $new-i];
my @orig-chunk = flat $new-head, @pod-section[$i ^.. $new-i];
my $chunk = $created.pod.push: pod-lower-headings(@orig-chunk, :to(%attr<kind> eq 'type' ?? 0 !! 2));

if $subkinds eq 'routine' {
Expand Down

0 comments on commit fd6abbe

Please sign in to comment.