March 28, 2022 [Issue 22952] New: Compiler fails to find package.d modules via -mv map | ||||
|---|---|---|---|---|
| ||||
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: nobody@puremagic.com Reporter: maxsamukha@gmail.com 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 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply