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

checker: fix return type checker when returning struct which implements IError on non-result fn #22660

Merged
merged 4 commits into from
Oct 27, 2024

Conversation

felipensp
Copy link
Member

@felipensp felipensp commented Oct 26, 2024

@felipensp felipensp marked this pull request as ready for review October 26, 2024 14:28
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 🥳 .

And a very elegant fix too.

@spytheman spytheman merged commit 1ced1e9 into vlang:master Oct 27, 2024
78 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.

C error when returning Error{} as int C error when returning Error{} as result
3 participants