[Issue 21227] import(".\\file") doesn't work on Windows

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 5 15:19:53 UTC 2020


moonlightsentinel at disroot.org changed:

           What    |Removed                     |Added
                 CC|                            |moonlightsentinel at disroot.o
                   |                            |rg

--- Comment #1 from moonlightsentinel at disroot.org ---
Plainly allowing is not the right fix (given the contract of the function)
because it allows to write absolute paths:

Try e.g.:

pragma(msg, import(`\papth\to\dmd\README.md`));


More information about the Digitalmars-d-bugs mailing list