-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
fix 3 minor bugs in joinPath (see #13455) #13462
Conversation
thanks! a definite improvement
this can be debated/fixed in subsequent PR's, however your PR introduces a new inconsistency; which I'm sure can be addressed in your PR: when head ends with
after PR:
before PR:
so how about changing the logic so that |
wow, well-spotted, thanks! |
Needs a changelog entry and |
I'm not sure that I understood the point of pragma .since. |
@a-mr your tests are failing because you need
I agree with you, IMO we should backport this otherwise user code will need to be sprinkled with So I suggest to not use since in this case. |
Thank you for the great explanation. I removed |
fix 3 minor bugs in joinPath (see nim-lang#13455) (nim-lang#13462) [backport]
(cherry picked from commit 3dad130)
this fixes 3 wrong cases for
joinPath
:I don't fix behavior like
"a" / "" == "a/"
since it's specified so in documentation hence changing it might break compatibility, though I admit @timotheecour is right in #13455 that it's strange.