Summary: ImportExpression does not respect relative paths
Currently, when an import("file.txt") is done in code, it uses the -Jpath flag
during compile time and expects the "file.txt" to exist in the path defined by
-Jpath. If I wanted to access a file relative to the path in -Jpath, naturally
I would do an import("relative/path/to/file.txt"). This works fine in windows,
but fails in Linux.
The main reason I'd like to do this is so that I can specify a root path for
all resources that get imported at compile time and keep them tidily organized
After looking at the dmd source code, it is clear that relative pathing is
prevented. I propose that this check is removed from the compiler altogether,
so that a relative path is allowed. Any reason that this isn't allowed already?