Bug 3382 - nodes2strings.cpp fails to print left expression of ForInNode when 'var' is not used
Summary: nodes2strings.cpp fails to print left expression of ForInNode when 'var' is n...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 412
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Maciej Stachowiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-09 07:34 PDT by Jay McCarthy
Modified: 2005-12-01 09:58 PST (History)
0 users

See Also:


Attachments
Proposed patch (572 bytes, patch)
2005-06-20 05:31 PDT, Mark Rowe (bdash)
darin: review-
Details | Formatted Diff | Diff
Add test case (3.67 KB, patch)
2005-12-01 07:32 PST, Anders Carlsson
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jay McCarthy 2005-06-09 07:34:44 PDT
for ( in index)
      {
        testProperty(index[j]);
      }

is generated from

for (j in index) {testProperty(index[j]);}
Comment 1 Mark Rowe (bdash) 2005-06-20 05:31:27 PDT
Created attachment 2495 [details]
Proposed patch

Test forthcoming
Comment 2 Darin Adler 2005-06-20 09:05:51 PDT
Comment on attachment 2495 [details]
Proposed patch

Oops, I shouldn't have done review+ on this if it doesn't have a test attached
yet. Set review? again once you have a test too.
Comment 3 Anders Carlsson 2005-12-01 07:32:56 PST
Created attachment 4893 [details]
Add test case

Let's nail this sucker once and for all!