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

fix paths of symbols in stdlibs #184

Merged
merged 1 commit into from
Jul 24, 2020
Merged

fix paths of symbols in stdlibs #184

merged 1 commit into from
Jul 24, 2020

Conversation

aviatesk
Copy link
Member

Currently the locations of symbols in standard library are invalid for julia that is not built from source. E.g. LinearAlgebra.eigen's location would be /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/InteractiveUtils/src/InteractiveUtils.jl:53 on macOS.
This is because of JuliaLang/julia#26314 and I'm trying to fix this borrowing the code in CodeTracking.jl to fix this issue.

@ZacLN is my understanding correct that SymbolServer only collects locations of methods, right ? Otherwise we need to use this kind of patching for other places as well.

@aviatesk aviatesk added the bug Something isn't working label Jul 24, 2020
@aviatesk aviatesk added this to the Next extension patch release milestone Jul 24, 2020
@aviatesk aviatesk requested a review from ZacLN July 24, 2020 18:50
Comment on lines +6 to +21
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
LibGit2 = "76f85450-5226-5b5a-8eaa-529ad045b433"
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
SHA = "ea8e919c-243c-51af-8825-aaa63cd721ce"
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
Sockets = "6462fe0b-24de-5631-8697-dd941f90decc"
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
julia = "1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember we discussed this before, but can't we live with these automatic formattings by Pkg.jl ? I want to add packages via Pkg.jl's interface (which automatically involves these sorting formatting)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add commands to the extension that make it easier to manage the Project.toml :) Lets see what happens if I next tag things, whether the tagging infrastructure changes the formatting back to something else.

@ZacLN
Copy link
Contributor

ZacLN commented Jul 24, 2020

@aviatesk yep

@pfitzseb pfitzseb merged commit 6fe0297 into master Jul 24, 2020
@davidanthoff davidanthoff deleted the avi/fixstdlibpaths branch July 25, 2020 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants