https://issues.dlang.org/show_bug.cgi?id=9826
Vladimir Panteleev <thecybersha...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thecybersha...@gmail.com --- Comment #5 from Vladimir Panteleev <thecybersha...@gmail.com> --- String-importing absolute paths to arbitrary files are forbidden by design, to prevent programs from capturing arbitrary files from the filesystem during compilation. The bug is that the compiler should realize that the absolute path, in fact, points to a file that is under the allowed string import path (-J.). --