Skip to content

checker,cgen: allow init of struct from struct with array of optional…#26005

Merged
spytheman merged 2 commits into
vlang:masterfrom
dy-tea:checker-opt
Dec 18, 2025
Merged

checker,cgen: allow init of struct from struct with array of optional…#26005
spytheman merged 2 commits into
vlang:masterfrom
dy-tea:checker-opt

Conversation

@dy-tea

@dy-tea dy-tea commented Dec 17, 2025

Copy link
Copy Markdown
Member

Fixes #26000.

Had to add some supporting cgen code. Doesn't appear to affect performance from my tests.

@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 56739fe into vlang:master Dec 18, 2025
81 of 84 checks passed
@dy-tea dy-tea deleted the checker-opt branch December 20, 2025 19:20
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: option casting after array indexing

3 participants