-
-
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
Trailing-1s indexing with 0-dimensional AbstractArrays #20175
Comments
I don't think this is a bug. If you declare your type as a I think this is how all the documentation is written, and I don't think |
What would you think about renaming |
Yes, having them mean "what methods I need to implement" would convey a lot of useful information to package developers. Great idea. If we wanted to do it in one shot, we could reverse word order and use |
Proposal: use the word index like a verb:
|
I feel that introspection works a bit like a conversation with the type/object: "What is your " "Thanks. In that case, give me element 1" ... |
@mbauman, you're right about the fact that this isn't a bug. Turns out to have arisen in a package that formerly worked by overloading @andyferris, we didn't explain that |
Right you are - that's a pity. |
Given #19958 and #20079, there may be fixes already submitted for this (or possibly, this won't work in the future anyway), so for now I simply report this:
It succeeds if you omit the
linearindexing
specialization.The text was updated successfully, but these errors were encountered: