Opened 13 years ago
Closed 9 years ago
#6105 closed defect (wontfix)
Compressor breaks "FOR EACH" loops
Reported by: | guest | Owned by: | Richard Backhouse |
---|---|---|---|
Priority: | low | Milestone: | future |
Component: | ShrinkSafe | Version: | 1.0 |
Keywords: | compressor rhino | Cc: | |
Blocked By: | Blocking: |
Description (last modified by )
The compressor does not handle "for each ( var in list)" loops correctly.
It replaces "for each(" with "foreach("
I've taken a look at the rhino code and it does some checkings for this (on the original rhino code).
Look for isForEach in Parser.java to get an idea.
Change History (5)
comment:1 Changed 13 years ago by
Component: | BuildTools → ShrinkSafe |
---|---|
Owner: | changed from James Burke to alex |
comment:2 Changed 13 years ago by
Milestone: | → 1.2 |
---|
Move all milestone 1.1 tickets to 1.2, except for reopened tickets and tickets opened after 1.1RC1 was released.
comment:3 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Milestone: | 1.2 → future |
Priority: | normal → low |
This is a Mozilla-specific extension (Javascript 1.6) which Rhino supports.
comment:4 Changed 11 years ago by
Owner: | changed from alex to Richard Backhouse |
---|
comment:5 Changed 9 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
not sure what version of JS this is, but it's clearly not something we use