-
-
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
Ensure n-ary to_index inlines #11833
Conversation
Argh, it seems Win64 still doesn't like this simplification to the |
The win64 failure was the timeout that's been happening everywhere (and the latest commit here more-or-less worked for me locally), but I didn't try locally on win32 yet and there's apparently an assertion failure in llvm
|
7339da2
to
8332ad6
Compare
Well, lets see if it happens again. I squashed and added a deprecation (since a few packages had been using this and it was easy to deprecate). |
(initially posted this in the wrong issue, don't triage before coffee) looks like the win32 problem is legitimate, though different error this time?
edit: this failure is unrelated, #11890 |
This separates the n-ary version of to_index to to_indexes. Recursive definitions with tuples don't inline like recursive splatted arguments.
6286196
to
d01e25d
Compare
While this was an internal function, it was used in at least a few other packages. It is easy to deprecate, so we may as well do so.
While I had fixed the type instability of to_index in 6a3c173, it stopped inlining even sooner!
This is the right solution — use a recursive n-ary splatted argument list. This fixes #11819 properly. I don't have time to run the test suite locally, but assuming CI passes this is good to go.