This code: import std.bigint; void main() { import std.bigInt; } DMD 2.055head gives this error: test.d(3): Error: module std.bigint from file ...\src\phobos\std\bigInt.d conflicts with another module bigint from file ...\src\phobos\std\bigint.d While this code compiles with no errors: import std.stdio; void main() { import std.stdio; } I think those cases can't be both correct.
import std.bigint; import std.bigInt; Will apparently give different module names to the same disk files.
The error message is now much better: test.d(4,12): Error: module std.bigint from file C:\...\std\bigInt.d must be imported with 'import std.bigint;' so I assume this can now be closed.