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

Add Enum#to_i128 and #to_u128 #13576

Merged
merged 1 commit into from Jun 20, 2023

Conversation

meatball133
Copy link
Contributor

@meatball133 meatball133 commented Jun 18, 2023

resolves #13573

I added the 2 methods and I also extended the amount of tests to test all to_i & to_u methods

@straight-shoota straight-shoota added this to the 1.9.0 milestone Jun 19, 2023
@straight-shoota straight-shoota changed the title [Enum]: add to_i128 & to_u128 Add Enum#to_i128 and #to_u128 Jun 20, 2023
@straight-shoota straight-shoota merged commit 0e82118 into crystal-lang:master Jun 20, 2023
50 checks passed
Blacksmoke16 pushed a commit to Blacksmoke16/crystal that referenced this pull request Dec 11, 2023
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.

Add #to_i128 & #to_u128 for enum
4 participants