www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 901] New: Comparison of array literals fails

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

           Summary: Comparison of array literals fails
           Product: D
           Version: 1.00
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: elmar zandere.de


This code should't assert:

void main(){
  assert( [2,3]!=[2,4] );
  assert( !([2,3]==[2,4]) );
}


-- 
Jan 29 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=901


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed DMD 1.005


-- 
Feb 12 2007
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=901






Added to DStress as
http://dstress.kuehne.cn/compile/a/assert_19_A.d
http://dstress.kuehne.cn/compile/a/assert_19_B.d
http://dstress.kuehne.cn/run/a/assert_19_C.d
http://dstress.kuehne.cn/run/a/assert_19_D.d


-- 
Feb 15 2007