- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 5.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
Intrinsics shown as Any
in typed ast
#15819
Comments
Any
in typed ast
I had the same question when I started using Julia: https://groups.google.com/forum/#!topic/julia-users/g9O9Ik5OAJA |
There's nothing wrong with the method and there's no type instability. I think most of them are fixed but I did notice some of the math ones are not handled... |
thanks. is the
note this example has two |
A decent heuristic is, unless it is a type instability in one of the variables under |
thanks. and sorry for not thinking of searching for |
When the intrinsic is not looked up directly in `Base`. Closes #15819
When the intrinsic is not looked up directly in `Base`. Closes #15819
in the output of
@code_warntype
below, note the::Any
, which on the REPL appears red, but here i capitalize. is there something i should alter about my function definition, or is this a bug elsewhere?The text was updated successfully, but these errors were encountered: