www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4299] New: compile stopped with flag unittest in typecons.d , depending on the order files

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4299

           Summary: compile stopped with flag unittest in typecons.d ,
                    depending on the order files
           Product: D
           Version: future
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: pavel psi.cz


--- Comment #0 from pavel <pavel psi.cz> 2010-06-10 03:56:19 PDT ---
uses dmd2 version 2.046 , windows vista, ubuntu 10.10

first file:

module one;
import std.string;

second file:

import std.stdio;

int main(string[] args)
{
  int[] a = [1,2,3,4];
  writeln(a);
}

compile:

dmd one.d main.d -oftest -unittest    -> stopped in typecons.d

but this is ok:

dmd main.d one.d -oftest - unitest

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 10 2010
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4299


Simen Kjaeraas <simen.kjaras gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |simen.kjaras gmail.com
         Resolution|                            |DUPLICATE


--- Comment #1 from Simen Kjaeraas <simen.kjaras gmail.com> 2010-06-10 05:51:52
PDT ---
*** This issue has been marked as a duplicate of issue 4003 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 10 2010