« Bugzilla Issues Index

#1490 — 13.4 Generators delegating yield significant typos

Step 4. a. in the YieldExpression semantics is missing an important word:

If Type(value) is not then throw a TypeError exception.

The same is true of step 4.d.

While we are here:

4. f. i. Let innerResult be the result of Invoke(iterator, "value", (received)).

Presumably you mean "next".

fixed in rev16 editor's draft

fixed in rev16 draft. July 15, 2013