-
-
Couldn't load subscription status.
- Fork 5.7k
Closed
Labels
help wantedIndicates that a maintainer wants help on an issue or pull requestIndicates that a maintainer wants help on an issue or pull requestpriorityThis should be addressed urgentlyThis should be addressed urgentlyregressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous versionstdlibJulia's standard libraryJulia's standard library
Description
The trouble is that file names in stdlib methods are (inappropriate) absolute paths:
julia> ml=methods(edit)
# 5 methods for generic function "edit":
[1] edit(path::AbstractString) in InteractiveUtils at
/buildworker/worker/package_linux64/build/usr/share/julia/site/v0.7/InteractiveUtils/src/editless.jl:37
#etc.
julia> less(edit,(AbstractString,))
/buildworker/worker/package_linux64/build/usr/share/julia/site/v0.7/InteractiveUtils/src/editless.jl:
No such file or directoryWe can cheat:
julia> ml.ms[1].file=Symbol("../site/v0.7/InteractiveUtils/src/editless.jl");
julia> less(edit,(AbstractString,)) # this worksThis is troublesome for those of us who want to consult "The Real Documentation" but didn't build from source.
(edited to fit more useful issue title)
nalimilan, KristofferC, kshramt, pfitzseb, carstenbauer and 5 morec42f and rapus95
Metadata
Metadata
Assignees
Labels
help wantedIndicates that a maintainer wants help on an issue or pull requestIndicates that a maintainer wants help on an issue or pull requestpriorityThis should be addressed urgentlyThis should be addressed urgentlyregressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous versionstdlibJulia's standard libraryJulia's standard library