mauro3 / Parameters.jl

Types with default field values, keyword constructors and (un-)pack macros
Other
419 stars 31 forks source link

Allow `reconstruct` to construct different type (but compatible) #143

Closed mauro3 closed 2 years ago

mauro3 commented 2 years ago

See #127

codecov[bot] commented 2 years ago

Codecov Report

Merging #143 (a06110c) into master (ecbf8df) will decrease coverage by 0.24%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #143      +/-   ##
==========================================
- Coverage   93.66%   93.42%   -0.25%     
==========================================
  Files           1        1              
  Lines         284      304      +20     
==========================================
+ Hits          266      284      +18     
- Misses         18       20       +2     
Impacted Files Coverage Δ
src/Parameters.jl 93.42% <100.00%> (-0.25%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ecbf8df...a06110c. Read the comment docs.

mauro3 commented 2 years ago

@daviehh: good point. I now changed the variable names, also in the first example, to not clash with each other nor with the fieldnames (to avoid confusion). Thanks!