#21 Fix Union{} corner case in isiterabletable

Open Bogumił Kamiński bkamins
Coverage Reach
TableTraits.jl

Flags

Flags have been temporarily removed from this view while the flagging feature is refactored for better performance and user experience.

You can still use flags when viewing individual files. Flag-level thresholds will also remain on pull and merge requests in your repository provider.

More information can be found in our documentation.

Showing 1 of 1 files from the diff.

@@ -14,9 +14,11 @@
Loading
14 14
15 15
    if Base.IteratorEltype(x)==Base.HasEltype()
16 16
        et = Base.eltype(x)
17 -
        if et <: NamedTuple
17 +
        if et === Union{}
18 +
            return false
19 +
        elseif et <: NamedTuple
18 20
            return true
19 -
        elseif et===Any
21 +
        elseif et === Any
20 22
            return missing
21 23
        else
22 24
            return false

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
src/TableTraits.jl -7.14% 92.86%
Project Totals (1 files) 92.86%
Loading