Skip to content

repl: handle object patterns without values - #53331

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
lukehaas:fix-reply-await-bug
Jun 7, 2024
Merged

repl: handle object patterns without values#53331
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
lukehaas:fix-reply-await-bug

Conversation

@lukehaas

Copy link
Copy Markdown
Contributor

Fixes#53328

For the ObjectPattern of type RestElement the child node is in the argument property.

@nodejs-github-botnodejs-github-bot added needs-ci PRs that need a full CI run. repl Issues and PRs related to the REPL subsystem. labels Jun 4, 2024
@cola119

Copy link
Copy Markdown
Member

@lukehaas Can you please address the lint errors?

@BridgeARBridgeAR left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thank you for the fix and congratulations to your first contribution!

@BridgeARBridgeAR added the request-ci Add this label to start a Jenkins CI on a PR. label Jun 5, 2024
@BridgeAR

Copy link
Copy Markdown
Member

Ideally, you could still force push with a commit message that adheres to our commit message standard. In this case e.g., repl: fix await object patterns without values

@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 5, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@lukehaas
lukehaasforce-pushed the fix-reply-await-bug branch from 86a199d to 7b557e3CompareJune 5, 2024 11:57
@lukehaas

Copy link
Copy Markdown
ContributorAuthor

@BridgeAR thanks. I've updated the commit message.

@cola119cola119 added the request-ci Add this label to start a Jenkins CI on a PR. label Jun 6, 2024
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 6, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@cola119cola119 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. and removed needs-ci PRs that need a full CI run. labels Jun 7, 2024
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 7, 2024
@nodejs-github-bot
nodejs-github-bot merged commit 479b8e5 into nodejs:mainJun 7, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 479b8e5

RafaelGSS pushed a commit that referenced this pull request Jun 7, 2024
fix lint issue
PR-URL: #53331
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
@RafaelGSSRafaelGSS mentioned this pull request Jun 7, 2024
eliphazbouye pushed a commit to eliphazbouye/node that referenced this pull request Jun 20, 2024
fix lint issue
PR-URL: nodejs#53331
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
marco-ippolito pushed a commit that referenced this pull request Jul 19, 2024
fix lint issue
PR-URL: #53331
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
@marco-ippolitomarco-ippolito mentioned this pull request Jul 19, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.replIssues and PRs related to the REPL subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Destructuring assignment in REPL throws Uncaught TypeError: Cannot read properties of undefined (reading 'type')

4 participants

@lukehaas@cola119@BridgeAR@nodejs-github-bot