Skip to content

checker: ensure ?Struct is not parsed as ??Struct when param is ?T#25564

Merged
spytheman merged 2 commits into
vlang:masterfrom
dy-tea:unwrap_optional
Oct 24, 2025
Merged

checker: ensure ?Struct is not parsed as ??Struct when param is ?T#25564
spytheman merged 2 commits into
vlang:masterfrom
dy-tea:unwrap_optional

Conversation

@dy-tea

@dy-tea dy-tea commented Oct 22, 2025

Copy link
Copy Markdown
Member

Fixes #25559.

Comment thread vlib/v/checker/check_types.v Outdated

@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.
Thank you very much @dy-tea 🙇🏻 .

@spytheman spytheman merged commit 2f54c48 into vlang:master Oct 24, 2025
83 of 84 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.

Can't unwrap generic optional not none struct

3 participants