-
Notifications
You must be signed in to change notification settings - Fork 50
Conversation
I'm not sure those are material for Compat anyway since they were unexported functions. But if others feel differently, I'm fine with wherever they end up. |
Oh SegFault, great ..... Also note that if we backport JuliaLang/julia#13803, the version check in this PR will need to be tweaked.... |
Hmm. I couldn't reproduce the segfault but I'm getting some very strange errors in Depending on what I do before, I get either ERROR: LoadError: UndefVarError: N not defined
in _mapreducedim! at ./no file:4294967295 or ERROR: LoadError: MethodError: `_nextract` has no method matching _nextract(::Type{Any}, ::Symbol, ::Expr)
Closest candidates are:
_nextract(::Int64, ::Symbol, ::Expr)
_nextract(::Int64, ::Symbol, ::Symbol)
in func_for_method_checked at ./reflection.jl:248 when I try to call This only happens if the module is precompiled but not if I add Can anyone reproduce this? @vtjnash The method that is causing this issue directly is here. Is there anything in it that looks suspicious for you in terms of precompilation compatibility? Also, is there a way I can check the |
The first error |
Force pushed to trigger a travis rerun. |
.... this time the error is the same one I see locally ..... https://travis-ci.org/JuliaStats/DataArrays.jl/jobs/88360029 |
…is indempotent from the perspective of codegen
The precompilation error is caused by JuliaLang/julia#13677 .... |
type_pow | ||
promote_eltype, broadcast_shape, eltype_plus | ||
|
||
if VERSION < v"0.5.0-dev+1016" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you use an isdefined
check here rather than a version comparison?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, will do when I'm back.
Updated the check to use The nightly CI will fail until commit JuliaLang/julia@5498570 is included in the nightly binary (hopefully tomorrow...) |
should be up already: http://buildbot.e.ip.saba.us:8010/builders/package_tarball64/builds/144, hit restart if the |
You are right, the travis run fetched exactly the commit that has the fix. This should be ready to go then. |
@simonster et al, okay to merge this? |
Note that this needs to be tagged before JuliaLang/julia#13803 can be considered for backporting. Not urgent as it's almost certainly going to be for 0.4.2, not 0.4.1. |
I'm not sure how much of these can go to
Compat.jl
so I just implement everything here....c.c. @timholy
Ref JuliaLang/julia#13803