Adding some verbosity:
    pragma(msg, import("file"));
    pragma(msg, buildPath(".", "file"));
    pragma(msg, import(buildPath(".", "file")));


Result on Ubuntu:
=======
hello

./file
hello

=======

Result on Windows:
=======
hello

.\file
parser.d(47): Error: file ".\\file" cannot be found or not in a path specified with -J parser.d(47): while evaluating pragma(msg, import(buildPath([".", "file"][])))
=======

Reply via email to