Closed KlausC closed 4 years ago
Merging #34 into master will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #34 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 5
Lines 190 194 +4
=========================================
+ Hits 190 194 +4
Impacted Files | Coverage Δ | |
---|---|---|
src/interface.jl | 100.00% <100.00%> (ø) |
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 0fb1719...8816254. Read the comment docs.
I will merge this PR right after #33. Thanks for your contribution.
Just merged #33 and this is pending. Can you resolve the conflict? Thanks
conflicts have been resolved.
Thanks!
Fixes #30.
If a supertype or unionall
A
has assigned a trait, then all subtypes or specializationsB <: A
automatically complies to the trait, ifA
does, becausefoo(::A)
is called byfoo(B())
.To determine the
traits(T::Assignable)
collect all keyskey
oftraits_map
which havek <: T
and build the union of all the sets of traits associated with those keys.