-
-
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
Specialization for keyword arguments of the form Type{T} #39866
Comments
|
This is just classic code_warntype misuse. It infers fine.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I observed some unexpected specialization behavior with keyword arguments.
Then
seems to indicate that it is not really specializing, but juggling around with
DataType
. I would have expected this with justas::Type = Int
because of some specialization heuristic I know from positional arguments.Is this intended? Or maybe
@code_warntype
is lying to me? Reproduced on julia 1.5 and 6 days old master.Edit: Maybe this is #37797? Don't know enough about the internals.
The text was updated successfully, but these errors were encountered: