archives

« Bugzilla Issues Index

#4488 — 14.2.1 Early Errors: Unnecessary restriction


14.2.1 Static Semantics: Early Errors

The restriction "It is a Syntax Error if ConciseBody Contains YieldExpression is true." is not needed, "yield" can never be parsed as YieldExpression in ConciseBody .


Fixed in ES2016 Draft (2c1fff2).