Skip to content

Commit 00aa0f8

Browse files
committed
Find Foo::Bar types.
1 parent 4ac46b5 commit 00aa0f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xt/rakudoc-types.rakutest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ sub is-valid-type($node, $parent) {
3434
return unless $node ~~ Pod::FormattingCode;
3535

3636
# Does this match a type?
37-
my $type = $node.contents.join('');
37+
my $type = $node.contents.join('').subst('::','/', :g);
3838
return unless "doc/Type/$type.rakudoc".IO.f;
3939

4040
if $node.type ne 'C' {

0 commit comments

Comments
 (0)