archives

« Bugzilla Issues Index

#2889 — Missing definition of /CurrentLabelSet/


In the Static Semantics of the continue and break statements with label (Sections 13.7.1 and 13.8.1, it is read:

It is a Syntax Error if ... does not appear in the /CurrentLabelSet/ of ...

It is nowhere defined what the /CurrentLabelSet/ is. On the other hand, in Section 13.12 (Labelled Statements), there is a note introducing informally the notion of "current label set".

One should either define what the /CurrentLabelSet/ of a LabelledStatement and of a IterationStatement is, or drop the notion of /CurrentLabelSet/ (and "current label set") and use instead a formulation similar to what is found in Labelled Statements > Static Semantics: Early Errors (Section 13.12.1).


The bug was in fact fixed in Rev 25 (and included in Bug 2696). Sorry for the noise.

*** This bug has been marked as a duplicate of bug 2696 ***