Thread overview
[Issue 901] New: Comparison of array literals fails
Jan 29, 2007
d-bugmail
Feb 12, 2007
d-bugmail
Feb 15, 2007
d-bugmail
January 29, 2007
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]) );
}


-- 

February 12, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=901


bugzilla@digitalmars.com changed:

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




------- Comment #1 from bugzilla@digitalmars.com  2007-02-12 03:44 -------
Fixed DMD 1.005


-- 

February 15, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=901





------- Comment #2 from thomas-dloop@kuehne.cn  2007-02-15 03:43 -------
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


--