https://issues.dlang.org/show_bug.cgi?id=22952
Issue ID: 22952
Summary: Compiler fails to find package.d modules via -mv map
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
To reproduce, create this source tree:
libsrc\
package.d
main.d
The contents of libsrc\package.d:
module lib;
The contents of main.d:
module main;
import lib;
void main() {}
Map 'lib' package to 'libsrc' folder and compile:
dmd -i -mv=lib=libsrc main.d
main.d(3): Error: module `lib` is in file 'lib.d' which cannot be read
--