Skip to content

compiler/cmdlinehelper fix#25574

Open
ZoomRmc wants to merge 1 commit intonim-lang:develfrom
ZoomRmc:cmdlinehelper
Open

compiler/cmdlinehelper fix#25574
ZoomRmc wants to merge 1 commit intonim-lang:develfrom
ZoomRmc:cmdlinehelper

Conversation

@ZoomRmc
Copy link
Copy Markdown
Contributor

@ZoomRmc ZoomRmc commented Mar 3, 2026

Removes an unused parameter from the callback stored in NimProg object. It's confusing and was ever
only called with an empty string to signal "read argv".

Any mock/testing procs just ignore this parameter.

This is a preparation to #25571 or whatever replaces it. After this change the tools should be prepared to every reasonable API change to parseopt, whatever it's going to be.

Nimony repo also relies on cmdlinehelper so a companion PR is following.

Removes an unused parameter from the callback stored
in `NimProg` object. It's confusing and was ever
only called with an empty string to signal "read argv".

Any mock/testing procs just ignore it.
@ZoomRmc
Copy link
Copy Markdown
Contributor Author

ZoomRmc commented Mar 3, 2026

As far as I understand, the tests don't pass as the Nimony ref is baked in and the used and updated API conflict.

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