Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/crystal/tools/doc/type.cr
Original file line number Diff line number Diff line change
@@ -722,7 +722,7 @@ class Crystal::Doc::Type
end

def type_has_link?(type : Crystal::Type)
@generator.type(type).must_be_included?
@generator.type(type.devirtualize).must_be_included?
end

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

1 comment on commit 0c9ee1f

@makenowjust
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.