Skip to content

cgen: clean code in return stmt and fix #25968#26118

Merged
spytheman merged 3 commits into
vlang:masterfrom
Krchi:expr_with_tmp_var_option_in_return
Dec 25, 2025
Merged

cgen: clean code in return stmt and fix #25968#26118
spytheman merged 3 commits into
vlang:masterfrom
Krchi:expr_with_tmp_var_option_in_return

Conversation

@Krchi

@Krchi Krchi commented Dec 25, 2025

Copy link
Copy Markdown
Contributor

merge duplicate code in return_stmt
fix #25968
remove init result struct in test, its no need now

@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, thanks @Krchi !
Less code, more functionality 🤌 .

@spytheman spytheman merged commit e8d98e1 into vlang:master Dec 25, 2025
85 of 86 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.

function returning both result and fixed array syntax ! collision

2 participants