Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recent nightly build can not precompile #327

Closed
BenLauwens opened this issue Sep 9, 2017 · 6 comments
Closed

Recent nightly build can not precompile #327

BenLauwens opened this issue Sep 9, 2017 · 6 comments

Comments

@BenLauwens
Copy link
Contributor

Hi

A recent nightly build of Julia v0.7 can no longer precompile DataStructures:

julia> VERSION
v"0.7.0-DEV.1729"

julia> using DataStructures
INFO: Precompiling module DataStructures.

WARNING: deprecated syntax "parametric method syntax OrderedDict{V}(kv::Tuple{Vararg{Pair{K, V} where K}}) around none:1".
Use "OrderedDict(kv::Tuple{Vararg{Pair{K, V} where K}}) where V" instead.

WARNING: deprecated syntax "parametric method syntax OrderedDict{V}(ps::Pair{K, V} where K...) around none:1".
Use "OrderedDict(ps::Pair{K, V} where K...) where V" instead.
ERROR: LoadError: LoadError: LoadError: type QuoteNode has no field args
Stacktrace:
 [1] @delegate(::LineNumberNode, ::Module, ::Any, ::Any) at /Users/ben/.julia/v0.7/DataStructures/src/delegate.jl:4
 [2] include_relative(::Module, ::String) at ./loading.jl:464
 [3] include at ./sysimg.jl:14 [inlined]
 [4] include(::String) at /Users/ben/.julia/v0.7/DataStructures/src/DataStructures.jl:3
 [5] include_relative(::Module, ::String) at ./loading.jl:464
 [6] include(::Module, ::String) at ./sysimg.jl:14
 [7] anonymous at ./<missing>:2
while loading /Users/ben/.julia/v0.7/DataStructures/src/ordered_set.jl, in expression starting on line 20
while loading /Users/ben/.julia/v0.7/DataStructures/src/ordered_set.jl, in expression starting on line 20
while loading /Users/ben/.julia/v0.7/DataStructures/src/DataStructures.jl, in expression starting on line 70
ERROR: Failed to precompile DataStructures to /Users/ben/.julia/lib/v0.7/DataStructures.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:598
 [2] _require(::Symbol) at ./loading.jl:407
 [3] require(::Symbol) at ./loading.jl:318
@DrKrar
Copy link

DrKrar commented Sep 9, 2017

I have the same problem,
Version 0.7.0-DEV.1738 .
I will through a guess, may be a change occur to how for treat local variables and its effect appear in macros??? maybe.

@kmsquire
Copy link
Member

I'm guessing there were some recent parsing changes in v0.7. The delegate macros will have to be updated to accommodate this. See here.

@TotalVerb
Copy link

This is JuliaLang/julia#23661; I would defer taking action until it's confirmed to be an intentional change in Base.

@DrKrar
Copy link

DrKrar commented Sep 11, 2017

Dear @kmsquire, I agree with you.
but I can not tell how to resolve for such change.

@kmsquire
Copy link
Member

Fixed by #329

@mauro3
Copy link

mauro3 commented Sep 16, 2017

Can a new release be tagged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants