Skip to content

Commit 0c9ee1f

Browse files
author
Ary Borenszweig
committedDec 20, 2016
Docs: fixed small links issue. Related to #3693
1 parent ceaeb77 commit 0c9ee1f

File tree

1 file changed

+1
-1
lines changed
  • src/compiler/crystal/tools/doc

1 file changed

+1
-1
lines changed
 

‎src/compiler/crystal/tools/doc/type.cr

+1-1
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ class Crystal::Doc::Type
722722
end
723723

724724
def type_has_link?(type : Crystal::Type)
725-
@generator.type(type).must_be_included?
725+
@generator.type(type.devirtualize).must_be_included?
726726
end
727727

728728
def type_has_link?(type : Crystal::TypeParameter | ASTNode)

1 commit comments

Comments
 (1)

makenowjust commented on Dec 21, 2016

@makenowjust
Contributor

Thanks!

Please sign in to comment.