Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cgen, parser: fix option as possible match case for sumtype #21079

Merged
merged 4 commits into from
Mar 24, 2024

Conversation

felipensp
Copy link
Member

@felipensp felipensp commented Mar 22, 2024

Fix #21077
Fix #20823

Before this patch the option type as variant were created as option_xx_ptr, after this patch it will be a _option_xx* instead.

@felipensp felipensp changed the title parser: fix option as possible match case for sumtype cgen, parser: fix option as possible match case for sumtype Mar 23, 2024
@felipensp felipensp marked this pull request as ready for review March 23, 2024 15:22
Copy link
Member

@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.

Excellent work.

@spytheman spytheman merged commit c8a20fa into vlang:master Mar 24, 2024
54 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
2 participants