-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Temporary variable inferred as Union{Bool, Int64} when calling rand() #20062
Comments
It's in |
sure, I just found it odd |
I too have found that this pollutes
Overwriting these seemed to fix the inference for me:
|
Witnesses this when trying to hunt down another inference related issue. Return type is inferred, but what is the
#temp#@_2::union{Bool, Int64}
about? Does not happen forrand(1)
(see bottom). On v0.5.0 release.The text was updated successfully, but these errors were encountered: