archives

« Bugzilla Issues Index

#1486 — Runtime Semantics: YieldExpression lacks Type(...) check rhs


step 4-a
> If Type(value) is not then throw a TypeError exception.

I think it should be

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

and

step 4-d

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

I think it should be also

> If Type(iterator) is not Object then throw a TypeError exception.


fixed in rev16 editor's draft


fixed in rev16 draft. July 15, 2013