Skip to content

checker: fix match branch checking of nonreturn call on last expr - #23699

Merged
spytheman merged 1 commit into
vlang:masterfrom
felipensp:fix_checker_match_branch_panic
Feb 12, 2025
Merged

spytheman merged 1 commit into
vlang:masterfrom
felipensp:fix_checker_match_branch_panic

Conversation

@felipensp

Copy link
Copy Markdown
Member

Fix #23698

@huly-for-github

Copy link
Copy Markdown

Connected to Huly®: V_0.6-22119

@felipensp
felipensp marked this pull request as ready for review February 12, 2025 12:23

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

Wow, good find.

Excellent work.

@spytheman
spytheman merged commit 92f436d into vlang:master Feb 12, 2025
@felipensp
felipensp deleted the fix_checker_match_branch_panic branch February 12, 2025 15:51
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.

Error in the match expression when the code ends with panic()

2 participants