dehydra "iter" should iterate member initializers

RESOLVED FIXED

Status

RESOLVED FIXED
11 years ago
10 months ago

People

(Reporter: benjamin, Assigned: benjamin)

Tracking

Trunk

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

11 years ago
Dehydra "iter" should iterate over member initializers:

diff --git a/system.js b/system.js
--- a/system.js
+++ b/system.js
@@ -372,6 +372,8 @@ function iter(f, vars) {
       var_iter(f, va)
     for each(var vp in v.arguments)
       var_iter(f, vp)
+    for each (var vi in v.inits)
+      var_iter(f, vi)
   }
   for each(var v in vars)
     var_iter(f, v)

taras, is this ok?

Comment 1

11 years ago
yes, please commit. We really need some testcases for dehydra, but I have no idea how to setup a tests for stuff like this.
(Assignee)

Comment 2

11 years ago
Pushed to oink, revision 658:b73208b08610
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED

Updated

10 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.