Skip to content

cgen: allow init shared field with default value#25991

Merged
spytheman merged 2 commits into
vlang:masterfrom
kbkpbot:fix-init-shared-default-value
Dec 17, 2025
Merged

cgen: allow init shared field with default value#25991
spytheman merged 2 commits into
vlang:masterfrom
kbkpbot:fix-init-shared-default-value

Conversation

@kbkpbot

@kbkpbot kbkpbot commented Dec 16, 2025

Copy link
Copy Markdown
Contributor

Fix issue #25990

@kbkpbot kbkpbot linked an issue Dec 16, 2025 that may be closed by this pull request

@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 359cb9b into vlang:master Dec 17, 2025
86 of 87 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.

shared int in a struct can't has a default value

2 participants