Skip to content
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

test: add a bunch of @inferred to the iterators test set #56885

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nsajko
Copy link
Contributor

@nsajko nsajko commented Dec 22, 2024

The @inferred macro is applied to the following functions:

  • Base.IteratorSize
  • Base.IteratorEltype
  • eltype
  • axes
  • size
  • length
  • ndims
  • isempty

xref #56802

xref #56838

@nsajko nsajko added test This change adds or pertains to unit tests collections Data structures holding multiple items, e.g. sets iteration Involves iteration or the iteration protocol labels Dec 22, 2024
@nsajko nsajko force-pushed the test_eltype_is_inferred branch from 1c884da to 53938d3 Compare December 22, 2024 13:16
The `@inferred` macro is applied to the following functions:
* `Base.IteratorSize`
* `Base.IteratorEltype`
* `eltype`
* `axes`
* `size`
* `length`
* `ndims`
* `isempty`

xref JuliaLang#56802

xref JuliaLang#56838
@nsajko nsajko force-pushed the test_eltype_is_inferred branch from 53938d3 to 7fbd41d Compare December 24, 2024 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
collections Data structures holding multiple items, e.g. sets iteration Involves iteration or the iteration protocol test This change adds or pertains to unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant