-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Use TypeNode#union_types
where possible
#5018
Conversation
Also in Lines 270 to 272 in b52b2f9
And io/byte_format.cr Line 125 in a214c8d
|
@bew I thought it wouldn't compile, but it does, thanks for pointing out! |
e81dbc5
to
ffb1314
Compare
@bew |
I don't see the possible issue with |
Compiler error will say more than me ;)
|
It might work to move |
This should be merged after the next release, as it depends on a new compiler feature. |
864cbaa
to
4add471
Compare
I dunno how to fix it, I'll close it unless there's someone willing to help. |
Did you tried my suggestion? |
@bew yes, it doesn't work. |
#codetriage Rebasing this PR on top of $ bin/crystal --version
Using compiled compiler at `.build/crystal'
Crystal 0.26.1+36 [bc526468e] (2018-09-08)
LLVM: 6.0.1
Default target: x86_64-apple-macosx Running
I'm not entirely sure how to proceed here. |
This amounts to adding 128-bit integer support to the affected methods, so this cannot be done now. Specs however can opt in to |
Closing in favor of #12636 |
Follow-up to #4995.
Meant to be merged after
v0.24.0
release.All specs are passing on currentmaster
.