[Issue 15319] New: module map is in file std/map.d which cannot be read
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Nov 11 07:12:04 PST 2015
https://issues.dlang.org/show_bug.cgi?id=15319
Issue ID: 15319
Summary: module map is in file std/map.d which cannot be read
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: regression
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: aliloko at gmail.com
This used to build with a 2.066 to 2.068 front-end.
Doesn't build anymore with a 2.069 front-end.
--------------
import std.file;
void copyDir(string from, string to)
{
auto mdFiles = dirEntries(from, SpanMode.shallow);
foreach(md; mdFiles)
{
copy(md, to ~ "/" ~ md);
}
}
void main(string[] args)
{
}
--------------
To reproduce:
$ dmd main.d
Output:
/Library/D/dmd/src/phobos/std/file.d(3102): Error: module map is in file
'std/map.d' which cannot be read
--
More information about the Digitalmars-d-bugs
mailing list