Skip to content

cgen: fix codegen for if comptime and array fixed#25697

Merged
spytheman merged 2 commits into
vlang:masterfrom
felipensp:fix_const_fixed_array_comptime
Nov 9, 2025
Merged

cgen: fix codegen for if comptime and array fixed#25697
spytheman merged 2 commits into
vlang:masterfrom
felipensp:fix_const_fixed_array_comptime

Conversation

@felipensp

Copy link
Copy Markdown
Member

Fix #25691

@felipensp felipensp marked this pull request as ready for review November 9, 2025 16:28

@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 5c1662d into vlang:master Nov 9, 2025
85 of 86 checks passed
@felipensp felipensp deleted the fix_const_fixed_array_comptime branch November 9, 2025 17:00
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.

cgen error for pub const fixed_sized_comptime_array_const = $if amd64 { [1,2] } $else { [0] }

2 participants