-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
replace broken replaceuserpath function with existing contractuser one #40274
Conversation
@@ -698,7 +691,7 @@ end | |||
function print_stackframe(io, i, frame::StackFrame, n::Int, digit_align_width, modulecolor) | |||
file, line = string(frame.file), frame.line | |||
stacktrace_expand_basepaths() && (file = something(find_source_file(file), file)) | |||
stacktrace_contract_userdir() && (file = replaceuserpath(file)) | |||
stacktrace_contract_userdir() && (file = contractuser(file)) |
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.
This doesn't seem to work on Windows (which might be why the custom function was called).
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.
That is exactly the wrong reason to define a new function however
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 open a new issue to change that function? It is okay to assign me.
Fixes #39674