[Webkit-unassigned] [Bug 6252] JavaScript 1.6 Array.lastIndexOf

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Aug 18 07:09:41 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=6252


vladimir.olexa at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vladimir.olexa at gmail.com




------- Comment #12 from vladimir.olexa at gmail.com  2006-08-18 07:09 PDT -------
(In reply to comment #11)
> Why are you converting an int back to a double here?
> 

because the variable "length" is declared as unsigned and declaring "d" as int
would break a lot of things in the comparisons for obvious reasons. i didn't
want to investigate why "length" was declared as unsigned (although it's cast
as int anyway) because that would require going through all functions that use
it and making sure it's not going to break anything. this can definitely be
done but i think it's beyond the scope of this particular bug. 


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list