digitalmars.D.internals - Is this a bug in dmd.root.filename:ensurePathExists?
- rjframe (9/9) Sep 03 2018 I noticed in PR 8572[1] that what I think is a bug was preserved (which ...
I noticed in PR 8572[1] that what I think is a bug was preserved (which is fine in a refactoring commit, but a quick check doesn't show a later PR to fix it); if you pass null or an empty string to ensurePathExists, it returns true (lines 675, 676)[2]. Is this correct behavior? It seems strange to me, and isn't documented behavior. [1]: https://github.com/dlang/dmd/pull/8572 [2]: https://github.com/dlang/dmd/ blob/58fde675fb69ea57da8902ddbabf87cf8b74e1f9/src/dmd/root/filename.d#L658
Sep 03 2018