Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

Commit

Permalink
Fix issue where incremental precompilation was broken for packages in…
Browse files Browse the repository at this point in the history
…cluding DataStreams
  • Loading branch information
quinnj committed Jun 6, 2018
1 parent 40a51dc commit ae3306c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DataStreams.jl
Original file line number Diff line number Diff line change
Expand Up @@ -501,13 +501,13 @@ const ColNT2 = Ref{Any}()

function __init__()
ColNT[] = @static if VERSION < v"0.7.0-DEV.2738"
nt = NamedTuples.create_namedtuple_type([:col])
nt = NamedTuples.create_namedtuple_type([:col], current_module())
x->nt(x...)
else
NamedTuple{(:col,)}
end
ColNT2[] = @static if VERSION < v"0.7.0-DEV.2738"
nt2 = NamedTuples.create_namedtuple_type([:name, :compute, :computeargs])
nt2 = NamedTuples.create_namedtuple_type([:name, :compute, :computeargs], current_module())
x->nt2(x...)
else
NamedTuple{(:name, :compute, :computeargs)}
Expand Down

0 comments on commit ae3306c

Please sign in to comment.