-
-
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
Lack-of-inlining bug with type that has extra parameter #18222
Comments
Interestingly, the |
Looks like an inliner bug, since the correct answer is |
Am I blind? (Probably, yes.) Note that |
yes, but it also has |
So this is really the same as #18110. |
similar, yes. I have a patch for this bug and am just writing the test. |
This is on 0.5.0-rc3:
Suppose we have some types that we want to scan for in a tuple:
If you run julia normally, this works fine:
But woe be to the person who dares turn off inlining:
If you get rid of the (here useless, but not in my real application)
T
parameter, then it works correctly with or without inlining.Interestingly, with inlining off we have:
and it seems that it likes either one:
The text was updated successfully, but these errors were encountered: