digitalmars.D.bugs - [Issue 6554] New: Refused two imports of the same module
- d-bugmail puremagic.com (31/31) Aug 25 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6554
- d-bugmail puremagic.com (14/14) Feb 16 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6554
http://d.puremagic.com/issues/show_bug.cgi?id=6554 Summary: Refused two imports of the same module Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc --- Comment #0 from bearophile_hugs eml.cc 2011-08-25 02:43:17 PDT --- 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. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 25 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6554 dawg dawgfoto.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dawg dawgfoto.de Summary|Refused two imports of the |windows case insensitive |same module |imports --- Comment #1 from dawg dawgfoto.de 2012-02-16 19:33:54 PST --- import std.bigint; import std.bigInt; Will apparently give different module names to the same disk files. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 16 2012