Skip to content

Add doc to explain return value with after clauses #13783

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

Merged
merged 2 commits into from
Aug 18, 2024

Conversation

erikosmond
Copy link
Contributor

I really enjoy this functionality and find it helpful but I believe it's the only time in the language when the final executed expression doesn't determine the return value. Making this explicit in the docs could help clarify any confusion.

@erikosmond erikosmond requested a review from josevalim August 18, 2024 21:19
@josevalim josevalim merged commit f2f4f3a into elixir-lang:main Aug 18, 2024
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants