« Bugzilla Issues Index

#655 — LabelledStatement has semantic meaning.

The first paragraph of "12 Statements" says "A LabelledStatement has no semantic meaning other than the introduction of a label to a label set." However, "12.12 Labelled Statements" says that "If the result of evaluating Statement is (break, V, L) where L is equal to Identifier, the production results in (normal, V, empty)." Therefore, because of the sentence in 12.12, a LabelledStatement has some semantic meaning.

yes, this is really an editorial issue

Indeed, thanks.

Fixed in ES2016 Draft.