Skip to content

fix: reject unexpected positional arguments - #231

Open
parvahuja wants to merge 2 commits into
wevm:mainfrom
parvahuja:parv/reject-extra-positional-arguments
Open

fix: reject unexpected positional arguments#231
parvahuja wants to merge 2 commits into
wevm:mainfrom
parvahuja:parv/reject-extra-positional-arguments

Conversation

@parvahuja

Copy link
Copy Markdown

Why

Unexpected positional arguments are silently ignored, hiding typos and invalid input.

What

  • Reject surplus positional arguments unless the final argument is variadic.
  • Preserve explicit true and false boolean option values.
  • Add parser coverage and a patch changeset.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2f7195f053

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Parser.ts
Comment thread src/Parser.ts Outdated
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-01T19:59:03.711830Z 2f7195f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant