You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.
ERROR: LoadError: error in method definition: function Base.parse must be explicitly imported to be extended
in include at ./boot.jl:250
in include_from_node1 at ./loading.jl:129
in include at ./boot.jl:250
in include_from_node1 at ./loading.jl:129
in reload_path at ./loading.jl:153
in _require at ./loading.jl:68
in require at ./loading.jl:51
in include at ./boot.jl:250
in include_from_node1 at ./loading.jl:129
while loading /Users/stevenj/.julia/JuliaParser/src/parser.jl, in expression starting on line 1864
while loading /Users/stevenj/.julia/JuliaParser/src/JuliaParser.jl, in expression starting on line 6
while loading /Users/stevenj/.julia/JuliaParser/test/runtests.jl, in expression starting on line 1
Frankly, I don't understand the source of this issue. Isn't it valid to define a JuliaParser.parse function that shadows Base.parse without extending it? (After all, this error about importing before extending was added in 2012: JuliaLang/julia@289c6df.)
Presumably, something has recently changed about Base.parse that suddenly makes Julia interpret the JuliaParser.parse as an extension of the same function rather than as a declaration of a new function in the JuliaParser namespace? (The issue is not that JuliaParser/src/parser.jl does export parse, since I get the same error if I comment out that line.)
Note that this is apparently causing Coverage to fail, which is cascading into a lot of Travis failures on other projects that weren't using after_success: before their coverage line in .travis.yml.
With 0.4, this is now giving:
Frankly, I don't understand the source of this issue. Isn't it valid to define a
JuliaParser.parse
function that shadowsBase.parse
without extending it? (After all, this error about importing before extending was added in 2012: JuliaLang/julia@289c6df.)Presumably, something has recently changed about
Base.parse
that suddenly makes Julia interpret theJuliaParser.parse
as an extension of the same function rather than as a declaration of a new function in theJuliaParser
namespace? (The issue is not thatJuliaParser/src/parser.jl
doesexport parse
, since I get the same error if I comment out that line.)@JeffBezanson, @vtjnash?
The text was updated successfully, but these errors were encountered: