JuliaComputing / Deprecations.jl

A database of julia deprecations and how to fix them
Other
17 stars 7 forks source link

unable to precompile on 0.6.3. #45

Closed kafisatz closed 6 years ago

kafisatz commented 6 years ago

I tried to use FemtoCleaner locally on 0.6.3 (as I could not get it to work on 0.7 alpha). It is not clear to me which version of AbstractTrees, CSTParser and Deprecations I should use for that. Currently, I fail due to Deprecations not compiling (I installed AbstractTrees v0.1.0 which does not seem to work).

Is there any way I can get this working.

using FemtoCleaner
INFO: Precompiling module CSTParser.
ERROR: LoadError: LoadError: LoadError: UndefVarError: prevsibling not defined
Stacktrace:
 [1] include_from_node1(::String) at .\loading.jl:576
 [2] include(::String) at .\sysimg.jl:14
 [3] include_from_node1(::String) at .\loading.jl:576
 [4] eval(::Module, ::Any) at .\boot.jl:235
 [5] _require(::Symbol) at .\loading.jl:490
 [6] require(::Symbol) at .\loading.jl:405
 [7] include_from_node1(::String) at .\loading.jl:576
 [8] eval(::Module, ::Any) at .\boot.jl:235
 [9] _require(::Symbol) at .\loading.jl:490
 [10] require(::Symbol) at .\loading.jl:405
while loading C:\Users\bernhard.konig\.julia\v0.6\Deprecations\src\astmatching.jl, in expression starting on line 116
while loading C:\Users\bernhard.konig\.julia\v0.6\Deprecations\src\Deprecations.jl, in expression starting on line 27
while loading C:\Users\bernhard.konig\.julia\v0.6\FemtoCleaner\src\FemtoCleaner.jl, in expression starting on line 9
Keno commented 6 years ago

There's a kf/for06 branch of AbstractTrees which works.