Comment #0 by andrej.mitrovich — 2014-02-05T07:14:08Z
-----
import std.path;
void main()
{
char[] path = ".".dup;
auto abs = path.absolutePath;
}
-----
$ dmd test.d
> test.d(8): Error: function std.path.absolutePath (string path, lazy string base = getcwd()) is not callable using argument types (char[])
I think absolutePath should probably be typed as this or something similar:
inout(char)[] absolutePath(inout(char)[] path, lazy inout(char)[] base = getcwd())