JuliaDynamics/DrWatson.jl

Savename expand for nested structs is not working

Open

#215 aperta il 19 nov 2020

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Julia (94 fork)batch import
buggood first issuesavename

Metriche repository

Star
 (915 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

As savename works for structs, I think it should also be possible to expand them. This doesn't work at the moment because of https://github.com/JuliaDynamics/DrWatson.jl/blob/1eece239953ab2a5aa6de1c9cb67236df0665264/src/naming.jl#L119 which, unless defined for the struct, throws an error for non-iterable types.

Guida contributor