Comment #0 by snarwin+bugzilla — 2021-10-06T17:10:38Z
As of DMD 2.097.2, attempting to compile the following program:
---
import foo;
---
...results in the following error message when the file `foo.d` does not exist:
---
bug.d(1): Error: module `foo` is in file 'foo.d' which cannot be read
---
This error message is misleading. In particular, the statement that "module `foo` is in file 'foo.d'" is false, since no file named 'foo.d' exists.