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

Fix doc for return type of Crystal::Macros::Case#else #13385

Merged

Conversation

HertzDevil
Copy link
Contributor

The else body is a regular Crystal expression, possibly Nop, never an array of when clauses.

This is purely a documentation change, the implementation remains the same.

@straight-shoota straight-shoota added this to the 1.9.0 milestone Apr 24, 2023
@straight-shoota straight-shoota changed the title Fix return type of Crystal::Macros::Case#else's doc Fix doc for return type of Crystal::Macros::Case#else Apr 25, 2023
@straight-shoota straight-shoota merged commit 6d8bca9 into crystal-lang:master Apr 25, 2023
45 checks passed
@HertzDevil HertzDevil deleted the docs/macro-case-else branch April 25, 2023 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants