Skip to content

Commit

Permalink
add missing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Mar 1, 2024
1 parent 66f29b2 commit a325f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/optimization_container_keys.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function encode_symbol(
::Type{T},
::Type{U},
meta::String = CONTAINER_KEY_EMPTY_META,
) where {T<:InfrastructureSystemsComponent U}
) where {T<:InfrastructureSystemsComponent, U}
meta_ = isempty(meta) ? meta : _DELIMITER * meta
T_ = replace(replace(strip_module_name(T), "{" => _DELIMITER), "}" => "")
return Symbol("$(strip_module_name(string(U)))$(_DELIMITER)$(T_)" * meta_)

Check warning on line 24 in src/optimization_container_keys.jl

View check run for this annotation

Codecov / codecov/patch

src/optimization_container_keys.jl#L22-L24

Added lines #L22 - L24 were not covered by tests
Expand Down

0 comments on commit a325f31

Please sign in to comment.