JuliaStats / DataArrays.jl

DEPRECATED: Data structures that allow missing values
Other
53 stars 50 forks source link

In v 0.7 precompile fails with typeassert #283

Closed colbec closed 7 years ago

colbec commented 7 years ago

FWIW in Julia master (Julia Version 0.7.0-DEV.1234 Commit 09f059a2d7 (2017-08-04 04:15 UTC) ) (v.0.6 is fine) precompile of DataArrays fails at:

ERROR: LoadError: LoadError: TypeError: in @deprecate, in typeassert, expected Symbol, got Expr
Stacktrace:
 [1] macro expansion at /home/colin/.julia/v0.7/SpecialFunctions/src/deprecated.jl:8 [inlined]
 [2] anonymous at ./<missing>:?
 [3] include_relative(::Module, ::String) at ./loading.jl:464
 [4] include at ./sysimg.jl:14 [inlined]
 [5] include(::String) at /home/colin/.julia/v0.7/SpecialFunctions/src/SpecialFunctions.jl:3
 [6] include_relative(::Module, ::String) at ./loading.jl:464
 [7] include(::Module, ::String) at ./sysimg.jl:14
 [8] anonymous at ./<missing>:2
while loading /home/colin/.julia/v0.7/SpecialFunctions/src/deprecated.jl, in expression starting on line 6
while loading /home/colin/.julia/v0.7/SpecialFunctions/src/SpecialFunctions.jl, in expression starting on line 75
ERROR: LoadError: Failed to precompile SpecialFunctions to /home/colin/.julia/lib/v0.7/SpecialFunctions.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:598
 [2] _require(::Symbol) at ./loading.jl:387
 [3] require(::Symbol) at ./loading.jl:318
 [4] include_relative(::Module, ::String) at ./loading.jl:464
 [5] include(::Module, ::String) at ./sysimg.jl:14
 [6] anonymous at ./<missing>:2
while loading /home/colin/.julia/v0.7/StatsBase/src/StatsBase.jl, in expression starting on line 10
ERROR: LoadError: Failed to precompile StatsBase to /home/colin/.julia/lib/v0.7/StatsBase.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:598
 [2] _require(::Symbol) at ./loading.jl:387
 [3] require(::Symbol) at ./loading.jl:318
 [4] include_relative(::Module, ::String) at ./loading.jl:464
 [5] include(::Module, ::String) at ./sysimg.jl:14
 [6] anonymous at ./<missing>:2
while loading /home/colin/.julia/v0.7/DataArrays/src/DataArrays.jl, in expression starting on line 6
ERROR: Failed to precompile DataArrays to /home/colin/.julia/lib/v0.7/DataArrays.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:598
 [2] _require(::Symbol) at ./loading.jl:407
 [3] require(::Symbol) at ./loading.jl:318

I think this happened in the last 48 hours or so, maybe a change in master.

andreasnoack commented 7 years ago

Dup of https://github.com/JuliaMath/SpecialFunctions.jl/issues/38