Keno / ASTInterpreter.jl

Gallium's AST interpreter as a separate package to simplify development
Other
16 stars 10 forks source link

Precompilation failure on master (Julia 0.5) #64

Closed cstjean closed 7 years ago

cstjean commented 7 years ago

The current master fails to precompile on Julia 0.5, OSX.

  | | |_| | | | (_| |  |  Version 0.5.0 (2016-09-19 18:14 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-apple-darwin13.4.0

julia> using ASTInterpreter
INFO: Precompiling module ASTInterpreter.
ERROR: LoadError: NullException()
 in get at ./nullable.jl:62 [inlined]
 in next(::AbstractTrees.PostOrderDFS, ::Nullable{AbstractTrees.ImplicitNodeStack{Any,Int64}}) at /Users/cedric/.julia/v0.5/AbstractTrees/src/AbstractTrees.jl:426
 in next(::AbstractTrees.IndEnumerate{AbstractTrees.PostOrderDFS}, ::Nullable{AbstractTrees.ImplicitNodeStack{Any,Int64}}) at /Users/cedric/.julia/v0.5/AbstractTrees/src/AbstractTrees.jl:257
 in next_expr!(::ASTInterpreter.Interpreter) at /Users/cedric/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:523
 in goto!(::ASTInterpreter.Interpreter, ::Int64) at /Users/cedric/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:549
...

I've bisected the error to the AbstractTrees API change

cstjean commented 7 years ago

Pkg.checkout("AbstractTrees") solved this issue.