-
Notifications
You must be signed in to change notification settings - Fork 36
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
Fix zero return imports, and support for result types #726
Conversation
be2c553
to
d1bf0ba
Compare
Hey @tessi, just in case you missed the PR, can I get a review on this when you get the chance? |
Hey, I'm sorry I didn't notice this PR before I added result type support in a separate PR along with the other remaining types other than resources. Everything else looks good, sorry for causing conflicts for you :( |
erlang 27.2.4 | ||
elixir 1.18.2-otp-27 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💜
hey @mangas - sorry for letting you wait 💚 and thanks a lot for you PR! |
d1bf0ba
to
3bd5aef
Compare
All good, I've fixed the conflicts now |
No worries at all, I've rebased the PR, let me know if there's any changes needed |
wit_parser::Results::Named(vec) if vec.is_empty() => { | ||
*return_values = Some((true, vals)); | ||
return Ok(()); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
Hey @mangas - thanks again for your contribution! the code looks great and I love the tests you added. 💚 |
The imports test already had most of what I needed so seemed like a good idea to add more cases to it.