Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upLabelledIdentifier is not used when evaluating LabelledStatement #188
Comments
claudepache
referenced this issue
Nov 24, 2015
Closed
13.13.15 Evaluation of LabelledStatement, step 2: LabelledItem → LabelledStatement #217
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
allenwb
Nov 24, 2015
Member
While it is sometimes necessary to apply an abstract operation to a production LHS, it is something that I think can be confusing. To avoid that, instead of the fix suggested above, I would simply add a new step after step one that says:
Append the string value of LabelIdentifier to newLabelSet.
|
While it is sometimes necessary to apply an abstract operation to a production LHS, it is something that I think can be confusing. To avoid that, instead of the fix suggested above, I would simply add a new step after step one that says:
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
anba
Nov 24, 2015
Contributor
Simply appending the label identifier to newLabelSet does not work, because break abrupt completions also need to be handled.
|
Simply appending the label identifier to newLabelSet does not work, because break abrupt completions also need to be handled. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
@anba So, the original fix is fine. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
nanto
commented
Nov 24, 2015
|
A production LHS is also used in 13.1.8, evaluation of BreakableStatement. |
nanto commentedNov 16, 2015
[JP22] In 13.13.15, LabelledIdentifier of LabelledStatement is not used. LabelledIdentifiers are ignored unless the labelled statements are nested. To use LabelledIdentifier, 13.13.15 step 2 can be: