[Issue 4003] New: The result changes only with the order of source files.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 25 08:54:07 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4003
Summary: The result changes only with the order of source
files.
Product: D
Version: 2.041
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: zan77137 at nifty.com
--- Comment #0 from SHOO <zan77137 at nifty.com> 2010-03-25 08:54:01 PDT ---
from http://dusers.dip.jp/modules/forum/index.php?post_id=220
The bug occurred with changing the order of import, or order of files as
compiler options.
------------------------
main.d
------------------------
import std.stdio;
void main(){}
------------------------
test.d
------------------------
import std.typecons;
Tuple!(string) t;
-----------------------
Case of success:
dmd -unittest test.d main.d
Case of failure:
dmd -unittest main.d test.d
std\typecons.d(424): Error: static assert (is(Tuple!(string,float) ==
Tuple!(string,float))) is false
std\typecons.d(413): instantiated from here: Tuple!(string,float)
...
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list