New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ununsed variable in 9.4.2.4 ArraySetLength #1230

Closed
cpansprout opened this Issue Jun 15, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@cpansprout

cpansprout commented Jun 15, 2018

Steps 16.c.iii-iv. read:

iii. Let succeeded be ! OrdinaryDefineOwnProperty(A, "length", newLenDesc).
iv. Return false.

The value of that succeeded variable is never used, which is a little confusing.

ryzokuken added a commit to ryzokuken/ecma262 that referenced this issue Jun 16, 2018

Editorial: remove unused variables in ArraySetLength
Remove the unused variable (named `succeeded`) in Steps 16.c.iii-iv. in
Section 9.4.2.4, which describes the abstract operation ArraySetLength.

Fixes: tc39#1230

ljharb added a commit to ryzokuken/ecma262 that referenced this issue Jun 16, 2018

Editorial: remove unused variables in ArraySetLength
Remove the unused variable (named `succeeded`) in Steps 16.c.iii-iv. in
Section 9.4.2.4, which describes the abstract operation ArraySetLength.

Fixes: tc39#1230

bterlson added a commit that referenced this issue Jun 18, 2018

Editorial: remove unused variables in ArraySetLength (#1231)
Remove the unused variable (named `succeeded`) in Steps 16.c.iii-iv. in
Section 9.4.2.4, which describes the abstract operation ArraySetLength.

Fixes: #1230

ljharb added a commit to ljharb/ecma262 that referenced this issue Jun 19, 2018

Editorial: remove unused variables in ArraySetLength (tc39#1231)
Remove the unused variable (named `succeeded`) in Steps 16.c.iii-iv. in
Section 9.4.2.4, which describes the abstract operation ArraySetLength.

Fixes: tc39#1230

bterlson added a commit that referenced this issue Jun 20, 2018

ES2018: more editorial changes (#1238)
* Editorial: remove useless es6num comments (#1237)

* Editorial: fix typo in Section 6.4.2 (#1233)

Fix a typo in Section 6.4.2, which concerns the Reference Specification
Type in the definition for a "Super Reference".

represents => represent

Fixes: #1229

* Editorial: remove unused variables in ArraySetLength (#1231)

Remove the unused variable (named `succeeded`) in Steps 16.c.iii-iv. in
Section 9.4.2.4, which describes the abstract operation ArraySetLength.

Fixes: #1230
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment