Skip to content

Commit f1b9f67

Browse files
committed
ignore X<> markers.
1 parent 3a8c16c commit f1b9f67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xt/rakudoc-types.rakutest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ sub render-node($node) {
4343
sub is-valid-type($node, $parent, $file) {
4444
# only care about I<>, C<>, L<>, etc.
4545
return unless $node ~~ Pod::FormattingCode;
46+
return if $node.type eq 'X'; # These are OK as is, and not user-visible
4647

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

0 commit comments

Comments
 (0)