Skip to content

Commit

Permalink
parse_arg(v::VersionNumber)
Browse files Browse the repository at this point in the history
  • Loading branch information
josePereiro committed May 17, 2024
1 parent 1cd6b9b commit c41a60c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dfname.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ parse_arg(p::Pair) = p
parse_arg(pt::NamedTuple) = pt
parse_arg(pt::Iterators.Pairs) = parse_arg(Dict(pt...))
parse_arg(pt::Dict) = pt
parse_arg(v::VersionNumber) = string(v)
parse_arg(v::Any) = error("parse_arg(v::", typeof(v), ") not implemented. Type `?parse_arg` for help.")
# A tupple will be hashed
function parse_arg(pt::Tuple)
Expand Down

0 comments on commit c41a60c

Please sign in to comment.