https://issues.dlang.org/show_bug.cgi?id=14349
Issue ID: 14349
Summary: String imports with subpaths don't work on Windows
Product: D
Version: D2
Hardware: All
OS: Windows
Status: NEW
Severity: normal
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
echo "pragma(msg, import(\"a/b.txt\"));" > test.d
mkdir a
echo aoeu > a/b.txt
dmd -o- -J. test.d
Works on Linux. On Windows, complains:
test.d(1): Error: file "a/b.txt" cannot be found or not in a path specified
with -J
test.d(1): while evaluating pragma(msg, import("a/b.txt"))
--