www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.internals - Is this a bug in dmd.root.filename:ensurePathExists?

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 

[1]: https://github.com/dlang/dmd/pull/8572
[2]: https://github.com/dlang/dmd/
Sep 03 2018