Skip to content

Use contribute_arg to handle NoCurrentOp at the top-level#293

Open
IsaacWoods wants to merge 1 commit intorust-osdev:mainfrom
IsaacWoods:main
Open

Use contribute_arg to handle NoCurrentOp at the top-level#293
IsaacWoods wants to merge 1 commit intorust-osdev:mainfrom
IsaacWoods:main

Conversation

@IsaacWoods
Copy link
Copy Markdown
Member

This makes our arg contribution code more uniform, and as a benefit gracefully handles incorrect Zero and One (as well as other, in theory` opcodes at the top-level. This pattern is seen in the wild fairly often.

Fix #289

This makes our arg contribution code more uniform, and as a benefit gracefully
handles incorrect `Zero` and `One` (as well as other, in theory` opcodes at
the top-level. This pattern is seen in the wild fairly often.
@martin-hughes
Copy link
Copy Markdown
Contributor

Looks good to me - tested and fixes the issue

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.

Stray One command leads to ParseFail(NoCurrentOp)

2 participants