Skip to content

Fix getindex rule with AxisArrays (but break existing tests?)#780

Open
devmotion wants to merge 5 commits intomainfrom
dw/axisarrays
Open

Fix getindex rule with AxisArrays (but break existing tests?)#780
devmotion wants to merge 5 commits intomainfrom
dw/axisarrays

Conversation

@devmotion
Copy link
Copy Markdown
Member

This PR tries the suggestion in #779 (comment) which apparently breaks some existing tests. I wonder what exactly is broken by these changes since the two-arg similar is quite standard and even recommended in the Julia docs: https://docs.julialang.org/en/v1/manual/methods/#Building-a-similar-type-with-a-different-type-parameter

Comment thread src/rulesets/Base/indexing.jl Outdated
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@simsurace
Copy link
Copy Markdown

So it is only that one test I also saw break (I did not wait for all tests to finish running), though there may be more things breaking that aren't tested. Do you think this PR is worth pursuing further?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants