Bug 3382

Summary: nodes2strings.cpp fails to print left expression of ForInNode when 'var' is not used
Product: WebKit Reporter: Jay McCarthy <jay.mccarthy>
Component: JavaScriptCoreAssignee: Maciej Stachowiak <mjs>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 412   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Proposed patch
darin: review-
Add test case ggaren: review+

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!