Skip to content

cgen: fix generic cast to sumtype of empty struct (fix #25263) - #25290

Merged
spytheman merged 2 commits into
vlang:masterfrom
Larsimusrex:fix_empty_struct_sumtype
Sep 13, 2025
Merged

spytheman merged 2 commits into
vlang:masterfrom
Larsimusrex:fix_empty_struct_sumtype

Conversation

@Larsimusrex

Copy link
Copy Markdown
Contributor

fix #25263

@huly-for-github

Copy link
Copy Markdown

Connected to Huly®: V_0.6-25296

@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 changed the title cgen: fix generic cast to sumtype of empty struct cgen: fix generic cast to sumtype of empty struct (fix #25263) Sep 12, 2025
@spytheman
spytheman merged commit 5d7958d into vlang:master Sep 13, 2025
83 checks passed
spytheman added a commit to kbkpbot/v that referenced this pull request Sep 13, 2025
* master:
  cgen: fix option variadic arg passing (fix vlang#25261) (vlang#25273)
  x.crypto.ascon: improve ascon_generic_hash, cleanup (vlang#25288)
  cgen: fix generic cast to sumtype of empty struct (fix vlang#25263) (vlang#25290)
  cgen: fix fixed-array const initializer (fix vlang#25291) (vlang#25293)
@medvednikov

Copy link
Copy Markdown
Member

@Larsimusrex amazing work! I've added you to the dev team. What's your discord username?

@Eliyaan

Eliyaan commented Sep 19, 2025

Copy link
Copy Markdown
Member

It is the same username

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.

C error: json2.decoder2 array of sumtypes one empty struct

5 participants