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

Support Slice.literal with inferred element type #15529

Merged

Conversation

HertzDevil
Copy link
Contributor

For number types other than Int32 the literal suffixes would result in more typing, but if more types are ever supported in slice literals, like tuples, the inferred form would become handy.

@straight-shoota straight-shoota added this to the 1.16.0 milestone Feb 27, 2025
@straight-shoota straight-shoota merged commit 13436a5 into crystal-lang:master Mar 3, 2025
32 checks passed
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.

2 participants