Closed Geod24 closed 3 years ago
unittest { assert(absolute("/"[]) == true); assert(absolute(""[]) == false); version (Windows) { assert(absolute(r"\"[]) == true); assert(absolute(r"\\"[]) == true); assert(absolute(r"c:"[]) == true); } }
https://github.com/dlang/dmd/blob/8e5d57628f107b1d8e3b9bd7d788406cb3d5d768/src/dmd/root/filename.d#L141-L152
Apparently, this string syntax is completely unimplemented, and never has been.
Thanks!
You're very welcome, @Geod24 :) Thank you for all your work on D.
https://github.com/dlang/dmd/blob/8e5d57628f107b1d8e3b9bd7d788406cb3d5d768/src/dmd/root/filename.d#L141-L152