Comment #0 by bearophile_hugs — 2011-08-25T02:43:17Z
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.
Comment #1 by code — 2012-02-16T19:33:54Z
import std.bigint;
import std.bigInt;
Will apparently give different module names to the same disk files.
Comment #2 by dlang-bugzilla — 2017-07-03T00:18:30Z
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.