-
-
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
isa_tfunc not working around broken subtyping in the way I hoped it would #27078
Comments
This was referenced May 17, 2018
jrevels
added a commit
that referenced
this issue
Jul 7, 2018
* small workaround checks against incorrect subtyping for kind types for isa_tfunc * add test for #27078 * fix pretty crazy bug where Type{T}s were inferred as Ts * work around broken subtyping in emit_isa codegen optimization * a test that was checking for exact/optimal inference result is now broken Justification for allowing this test to remain broken for now: - benchmarking the expression (including downstream toy calculations on the output, e.g. broadcast sin) using BenchmarkTools reveals no actual performance difference - inference returning an optimal result before was probably reliant on the broken subtyping behavior; correctness >>> performance - inference is still returning a fairly tightly bounded, correct Union type
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I remove the
Type{S} where S
:Title might not be quite correct, but the sadness this bug causes me is very real
The text was updated successfully, but these errors were encountered: