relativePath("foo", "foo") is now ".", not "" (#13452)

This commit is contained in:
Timothee Cour 2020-02-22 00:07:53 -08:00 • committed by GitHub
commit a43583f9c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 37 additions and 8 deletions

View file

@ -27,7 +27,9 @@
It was an oversight to be included in v1.0.
- `options` now treats `proc` like other pointer types, meaning `nil` proc variables
are converted to `None`.
- `relativePath("foo", "foo")` is now `"."`, not `""`, as `""` means invalid path
and shouldn't be conflated with `"."`; use -d:nimOldRelativePathBehavior to restore the old
behavioe
### Breaking changes in the compiler