-
-
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
streamline a[begin] lowering via firstindex(a, n) #35779
Conversation
Thanks! I do fear this is a "minor change" as it requires non- |
Would it make sense to include in 1.5 since we haven't branched yet? |
The |
I think this is a worthwhile change (and I'd bet will be unobjectionable to triage), just could use NEWS.md. |
Should be good to merge? |
linuxaarch64 is the usual unrelated |
FWIW this technically breaks some packages like DataFrames which implemented Cc: @bkamins |
For that matter, a fallback |
Better to be consistent here and there's no harm since it's a fallback anyway. |
I think it would be best to provide a fallback in Julia Base. The problem is that the If you agree I would recommend that the interface specification should be updated in the manual in a PR that implements the fallback. |
Should be fixed by #38742. |
`a[begin]` indexing was added by #35779 in Julia 1.6, so this feature needs a compat notice in the docstring.
Suggested by @mbauman in #33946 (comment)