JuliaIO / JLD2.jl
Showing 2 of 5 files from the diff.

@@ -521,9 +521,9 @@
Loading
521 521
include("fileio.jl")
522 522
include("compression.jl")
523 523
524 -
if Base.VERSION >= v"1.6.0"
524 +
#= if Base.VERSION >= v"1.6.0"
525 525
    include("precompile.jl")
526 526
    _precompile_()
527 -
end
527 +
end =#
528 528
529 529
end # module

@@ -180,7 +180,13 @@
Loading
180 180
            # The on disk representation of T can only be the same as in memory
181 181
            # if the offsets are the same, field type on disk (readtype) and in memory (wstype)
182 182
            # are the same and if no CustomSerialization is involved
183 -
            samelayout = samelayout && offsets[i] == fieldoffset(T, i) && types[i] === wstype && !(odrs[i] <: CustomSerialization)
183 +
            samelayout = samelayout && 
184 +
                offsets[i] == fieldoffset(T, i) && 
185 +
                types[i] === wstype && 
186 +
                # An OnDiskRepresentation as odr means that something "fixable" went wrong
187 +
                # for this field
188 +
                !(odrs[i] isa OnDiskRepresentation) && 
189 +
                !(odrs[i] <: CustomSerialization)
184 190
185 191
            mapped[dtindex] = true
186 192
        end
Files Coverage
src 87.35%
Project Totals (28 files) 87.35%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading