Skip to content

cgen: fix shared int string intp#25989

Merged
spytheman merged 1 commit intovlang:masterfrom
kbkpbot:fix-shared-strinp
Dec 17, 2025
Merged

cgen: fix shared int string intp#25989
spytheman merged 1 commit intovlang:masterfrom
kbkpbot:fix-shared-strinp

Conversation

@kbkpbot
Copy link
Copy Markdown
Contributor

@kbkpbot kbkpbot commented Dec 16, 2025

Fix issue #25984

@kbkpbot kbkpbot linked an issue Dec 16, 2025 that may be closed by this pull request
struct Foo {
mut:
int shared int
i32 shared i32
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.

i16?

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.

although that 8 and 16 bit numbers may not work now

Copy link
Copy Markdown
Contributor

@spytheman spytheman left a comment

Choose a reason for hiding this comment

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

Thank you @kbkpbot 🙇🏻 .
Excellent work.

@spytheman spytheman merged commit 0800feb into vlang:master Dec 17, 2025
86 of 87 checks passed
@penguindark
Copy link
Copy Markdown
Member

Great work!
Congrats. 😄

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.

str intp can't work with shared int in a struct

3 participants