Skip to content

Fix stdlib paths in stacktraces #35890

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

Closed
wants to merge 1 commit into from
Closed

Fix stdlib paths in stacktraces #35890

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented May 14, 2020

this hopefully solves #35191

@KristofferC KristofferC added the needs tests Unit tests are required for this change label May 14, 2020
@@ -496,7 +496,8 @@ function show_method_candidates(io::IO, ex::MethodError, @nospecialize kwargs=()
print(iob, "; ")
join(iob, kwords, ", ")
end
print(iob, ")")
file ,line =updated_methodloc(method)
Copy link
Member

Choose a reason for hiding this comment

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

indentation and spaces look a bit off here

Copy link
Author

Choose a reason for hiding this comment

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

Ok , i'll rectify.

@fredrikekre fredrikekre changed the title pull reuqest for path to stdlib files is incorrect Fix stdlib paths in stacktraces May 15, 2020
@oschulz
Copy link
Contributor

oschulz commented Jul 4, 2020

Is this still alive? I'd love to see this fixed (thanks, @Sagnik-Chatterjee)

@KristofferC
Copy link
Member

KristofferC commented Jul 4, 2020

I realize now that the approach here is not entirely correct (sorry for giving a bad suggestion). As it is, it will give the line number to the start of the method.

@musm
Copy link
Contributor

musm commented Dec 11, 2020

closed in favor of #37427

@musm musm closed this Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs tests Unit tests are required for this change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants