Replies: 4 comments 12 replies
-
No, that line can be deleted from It probably was a leftover from a previous draft of the algorithm, e.g. one that may have used |
Beta Was this translation helpful? Give feedback.
-
Thank you for your answer. This will also answer my second question, whether this algorithm is currently equivalent to: function escape_raw_string(io, str::AbstractString)
for c in str
if c in ('\\', '"')
write(io, '\\')
end
write(io, c)
end
end If yes, I was wondering, why the code is currently complicated. |
Beta Was this translation helpful? Give feedback.
-
Since we are looking at
So when I make a PR for that, I'll also delete that line. |
Beta Was this translation helpful? Give feedback.
-
I have one more question regarding this function. Why this function is not used around julia/stdlib/Distributed/src/managers.jl Line 312 in cc345f6 |
Beta Was this translation helpful? Give feedback.
-
@mgkuhn
julia/base/strings/io.jl
Line 622 in cc345f6
Is this assignment needed?
Update: I have just found a closed PR for this: #38499
I can't see the build details to see why it failed. (It shows empty screen.)
Beta Was this translation helpful? Give feedback.
All reactions