Skip to content

extract: support underscore params#1708

Open
nelsam wants to merge 1 commit intotraefik:masterfrom
nelsam:nelsam/underscore-args
Open

extract: support underscore params#1708
nelsam wants to merge 1 commit intotraefik:masterfrom
nelsam:nelsam/underscore-args

Conversation

@nelsam
Copy link

@nelsam nelsam commented Sep 8, 2025

Sometimes it makes sense to name some params in an interface, but not all of them. In these cases the name '_' comes in handy. However, it breaks the code generation in 'yaegi extract'.

This updates the logic to handle underscore names the same way it handles empty names.

Sometimes it makes sense to name some params in an interface, but
not all of them. In these cases the name '_' comes in handy.
However, it breaks the code generation in 'yaegi extract'.

This updates the logic to handle underscore names the same way
it handles empty names.
@CLAassistant
Copy link

CLAassistant commented Sep 8, 2025

CLA assistant check
All committers have signed the CLA.

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.

2 participants