Skip to content

Commit

Permalink
ignore X<> markers.
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Mar 9, 2023
1 parent 3a8c16c commit f1b9f67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xt/rakudoc-types.rakutest
Expand Up @@ -43,6 +43,7 @@ sub render-node($node) {
sub is-valid-type($node, $parent, $file) {
# only care about I<>, C<>, L<>, etc.
return unless $node ~~ Pod::FormattingCode;
return if $node.type eq 'X'; # These are OK as is, and not user-visible

# Does this match a documented type?
my $type = $node.contents.join('');
Expand Down

0 comments on commit f1b9f67

Please sign in to comment.