Skip to content

comptime: fix $compile_error on $match when used on return stmt#25358

Merged
spytheman merged 6 commits into
vlang:masterfrom
felipensp:fix_compile_err_warn_match
Sep 21, 2025
Merged

comptime: fix $compile_error on $match when used on return stmt#25358
spytheman merged 6 commits into
vlang:masterfrom
felipensp:fix_compile_err_warn_match

Conversation

@felipensp

Copy link
Copy Markdown
Member

Fix #25348

@huly-for-github

Copy link
Copy Markdown

Connected to Huly®: V_0.6-26048

Comment thread vlib/v/gen/c/comptime.v Outdated
Comment thread vlib/v/gen/c/comptime.v Outdated
@spytheman spytheman marked this pull request as ready for review September 21, 2025 05:33

@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.
Thank you.

@spytheman spytheman merged commit 23477fc into vlang:master Sep 21, 2025
81 of 83 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.

$compile_error() always triggers when using compile time $match to pass a value

2 participants