-
-
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
Work around inference bug with Vararg #18467
Conversation
#18457 will likely make this obsolete. |
ac8b832
to
6bffa3c
Compare
While it looks like #18457 is fixing this, it looks feasible to backport this to v0.5 to work around the error there. And it looks like a nice code refactoring anyways. |
Sure. To backport this, I should just cherry-pick the commit and submit a PR against release-0.5? |
the process is listed in #17418 but depending how critical this is it should probably wait until 0.5.1 |
Should definitely run benchmarks before merging inference stuff. |
FTFY |
Fix Tuple inference regression from #18467
Never inline as constant anything inferred as
Type{Tuple{Vararg}}
, as the actual type could be less specific. Works around the inference part of #18450.If this is desired, it might be a good idea to run benchmarks in case this pessimizes something.