Skip to content

Commit

Permalink
Name unions correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodywasishere committed Jul 17, 2024
1 parent aa33f34 commit 9a9202b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/compiler/crystal/tools/doc/type.cr
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ class Crystal::Doc::Type
case @type
when Const
"const"
when .extern_union?
"union"
when .struct?
"struct"
when .class?, .metaclass?
Expand Down

0 comments on commit 9a9202b

Please sign in to comment.