[Webkit-unassigned] [Bug 17027] Incorrect Function.toString behaviour with read/modify/write operators performed on numbers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 26 19:10:50 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17027


darin at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-                     |darin at apple.com
                   |unassigned at lists.webkit.org |




------- Comment #1 from darin at apple.com  2008-01-26 19:10 PDT -------
I think the trick here is that in SourceStream::operator<<(double) we need to
treat the "-" sign from the negative number as an operator, since that's how
the lexer is going to treat it.

Thus we need to check the precedence against the precedence of unary minus and
set needParens in that case. This can all be fixed on the first line of that
function where we initialize a needParens bool.

Assigning to myself, assuming that if Ollie was going to fix this he'd have
assigned it to himself.


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



More information about the webkit-unassigned mailing list