Skip to content

ENT-13879: Checks variadic functions for valid number of arguments in call#74

Merged
olehermanse merged 4 commits intocfengine:mainfrom
SimonThalvorsen:ENT-13879
Apr 24, 2026
Merged

ENT-13879: Checks variadic functions for valid number of arguments in call#74
olehermanse merged 4 commits intocfengine:mainfrom
SimonThalvorsen:ENT-13879

Conversation

@SimonThalvorsen
Copy link
Copy Markdown
Contributor

No description provided.

@SimonThalvorsen SimonThalvorsen marked this pull request as draft April 20, 2026 14:46
@SimonThalvorsen
Copy link
Copy Markdown
Contributor Author

cfengine/core#6079

@olehermanse
Copy link
Copy Markdown
Member

@SimonThalvorsen Other PR was merged, you can rebase now :)

@SimonThalvorsen SimonThalvorsen marked this pull request as ready for review April 22, 2026 10:03
@SimonThalvorsen SimonThalvorsen marked this pull request as draft April 22, 2026 10:41
@olehermanse olehermanse removed their request for review April 22, 2026 11:06
@SimonThalvorsen SimonThalvorsen marked this pull request as ready for review April 22, 2026 14:28
@olehermanse olehermanse requested a review from larsewi April 22, 2026 14:52
Copy link
Copy Markdown
Member

@olehermanse olehermanse left a comment

Choose a reason for hiding this comment

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

Looks good but let's focus on the core PR first, will need to adjust this one afterwards.

Copy link
Copy Markdown
Member

@olehermanse olehermanse left a comment

Choose a reason for hiding this comment

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

Looks good, just some readability suggestions, and needs to be adapted for optional maxArgs.

Comment thread tests/lint/015_variadic_func_arg_count.cf Outdated
Comment thread tests/lint/015_variadic_func_arg_count.x.cf Outdated
Comment thread src/cfengine_cli/syntax-description.json Outdated
Comment thread src/cfengine_cli/lint.py
Comment thread src/cfengine_cli/lint.py
Comment thread src/cfengine_cli/lint.py Outdated
Comment thread src/cfengine_cli/lint.py Outdated
Comment thread src/cfengine_cli/lint.py Outdated
Comment thread src/cfengine_cli/lint.py
@olehermanse olehermanse merged commit 414d56d into cfengine:main Apr 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants