Skip to content

checker: correctly detect variadic arg passed to struct fn#25509

Merged
spytheman merged 1 commit into
vlang:masterfrom
dy-tea:master
Oct 16, 2025
Merged

checker: correctly detect variadic arg passed to struct fn#25509
spytheman merged 1 commit into
vlang:masterfrom
dy-tea:master

Conversation

@dy-tea

@dy-tea dy-tea commented Oct 15, 2025

Copy link
Copy Markdown
Member

Fixes #25504.

Small misdetection in checker.
Made the test a bit clearer than it was in the issue.

@huly-for-github

Copy link
Copy Markdown

Connected to Huly®: V_0.6-26190

Comment thread vlib/v/checker/fn.v

@spytheman spytheman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Excellent work.

@spytheman spytheman merged commit 1a6bb3d into vlang:master Oct 16, 2025
83 of 85 checks passed
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.

checker: struct defined on function taking vararg as parameter can be misdetected an non-vararg

2 participants