JeffreySarnoff / NamedTupleTools.jl

some utilities for working with NamedTuples
MIT License
81 stars 11 forks source link

Fix deprecate call #19

Closed tkf closed 4 years ago

tkf commented 4 years ago

This PR fixes the precompilation warning:

julia> using NamedTupleTools
[ Info: Precompiling NamedTupleTools [d9ec5142-1e00-5aa0-9d6a-321866360f50]
WARNING: eval into closed module Base:
Expr(:block, #= Symbol("/home/takafumi/.julia/dev/NamedTupleTools/src/NamedTupleTools.jl"):367 =#, Expr(:macrocall, Symbol("@deprecate"), #= Symbol("/home/takafumi/.julia/dev/NamedTupleTools/src/NamedTupleTools.jl"):367 =#, Expr(:call, :namedtuple, Expr(:::, :nt, NamedTuple{names, T} where T<:Tuple where names)), Expr(:call, typeof(NamedTupleTools.prototype)(), Expr(:::, :nt, NamedTuple{names, T} where T<:Tuple where names))))
  ** incremental compilation may be fatally broken for this module **
JeffreySarnoff commented 4 years ago

much obliged