Skip to content

Commit

Permalink
Depict types.
Browse files Browse the repository at this point in the history
  • Loading branch information
orenbenkiki committed Apr 8, 2024
1 parent 1e637ff commit e2dce51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/v0.1.0/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-04-08T16:03:18","documenter_version":"1.3.0"}}
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-04-08T16:22:30","documenter_version":"1.3.0"}}
3 changes: 2 additions & 1 deletion src/messages.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ function depict(value::Tuple)::String
return "(" * join([depict(entry) for entry in value], ", ") * ")"
end

function depict(value::Bool)::String
function depict(value::Union{Bool, Type})::String
return "$(value)"
end

function depict(::UndefInitializer)::String
return "undef"
end
Expand Down

0 comments on commit e2dce51

Please sign in to comment.