Skip to content

errors: remove dead code - #20483

Closed
BridgeAR wants to merge 1 commit into
nodejs:masterfrom
BridgeAR:remove-dead-code
Closed

errors: remove dead code#20483
BridgeAR wants to merge 1 commit into
nodejs:masterfrom
BridgeAR:remove-dead-code

Conversation

@BridgeAR

Copy link
Copy Markdown
Member

This was never falsy, since an array length can only be an integer.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

This was never falsy, since an array length can only be an integer.
@nodejs-github-botnodejs-github-bot added the errors Issues and PRs related to JavaScript errors originated in Node.js core. label May 2, 2018
@BridgeARBridgeAR mentioned this pull request May 2, 2018
4 tasks
@BridgeAR

Copy link
Copy Markdown
MemberAuthor

Leko
Leko approved these changes May 4, 2018
@BridgeARBridgeAR added the fast-track PRs that do not need to wait for 48 hours to land. label May 4, 2018
@BridgeAR

Copy link
Copy Markdown
MemberAuthor

Please +1 if it is OK for you to fast track.

@addaleaxaddaleax removed the fast-track PRs that do not need to wait for 48 hours to land. label May 6, 2018
@addaleax

Copy link
Copy Markdown
Member

Landed in 8f1ee0b

(I don’t think asserts really qualify as “dead code”, btw … I mean, not being triggered is kind of their purpose. 😄)

@addaleaxaddaleax closed this May 6, 2018
addaleax pushed a commit that referenced this pull request May 6, 2018
This was never falsy, since an array length can only be an integer.
PR-URL: #20483
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
MylesBorins pushed a commit that referenced this pull request May 8, 2018
This was never falsy, since an array length can only be an integer.
PR-URL: #20483
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
@MylesBorinsMylesBorins mentioned this pull request May 8, 2018
MylesBorins pushed a commit that referenced this pull request May 8, 2018
This was never falsy, since an array length can only be an integer.
PR-URL: #20483
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
MylesBorins pushed a commit that referenced this pull request May 9, 2018
This was never falsy, since an array length can only be an integer.
PR-URL: #20483
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

errorsIssues and PRs related to JavaScript errors originated in Node.js core.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@BridgeAR@addaleax@jasnell@Leko@XadillaX@trivikr@nodejs-github-bot