archives

« Bugzilla Issues Index

#3361 — 12.14.5: Non-simple destructuring target in rest-destructuring (and typo)


12.14.5.1 Static Semantics: Early Errors
12.14.5.3 Runtime Semantics: IteratorDestructuringAssignmentEvaluation
- AssignmentRestElement[Yield] : ... DestructuringAssignmentTarget

Steps 6-7 are never applicable because of early error restrictions in 12.14.5.1

Also: Step 4.c.i "ammmumulationFinished" -> "accumulationFinished"


fixed in rev29 editor's draft

removed the early error. there is no particular reason why the rest element of a restructuring array assignment has to be a simple asignment


fixed in rev29