improve generated code for import
2 unresolved threads
2 unresolved threads
Compare changes
- Jonas Isensee authored
+ 3
− 7
@@ -351,9 +351,9 @@ module ExportUtils
@@ -351,9 +351,9 @@ module ExportUtils
deserialize(::Any, @nospecialize(a::Type); kwargs...) = error("InPartS: no deserializer defined for type $a")
deserializefromdict(dict, stype = Any; [sim::Simulation, mod::Module]) → Vector{T} where {T<:AbstractParticle}
@@ -370,10 +370,6 @@ module ExportUtils
@@ -370,10 +370,6 @@ module ExportUtils
deserializefromdict(dict::AbstractDict, stype = Any; mod::Module = Main, kwargs...) = deserialize(dict, InPartS.reconstruct_subtype(dict[STRUCTTYPE], stype; mod); kwargs...)
# this is for save callbacks but I put it here because I don't want these words to be reserved in the main InPartS namespace