Skip to content

Add index<I>() to Array-like types#289

Merged
ktbarrett merged 1 commit into
devfrom
array-static-index
Jun 19, 2026
Merged

Add index<I>() to Array-like types#289
ktbarrett merged 1 commit into
devfrom
array-static-index

Conversation

@ktbarrett

Copy link
Copy Markdown
Owner

This mirrors slice<R>(). The main value is that static indexing into statically ranged objects is bounds-checked at compile-time.

This mirrors slice<R>(). The main value is that static indexing into
statically ranged objects is bounds-checked at compile-time.
@ktbarrett ktbarrett requested a review from ZiaCheemaGit June 19, 2026 03:33
@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.05%. Comparing base (27d6b45) to head (645c86c).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #289   +/-   ##
=======================================
  Coverage   92.05%   92.05%           
=======================================
  Files          23       23           
  Lines        1309     1309           
  Branches      316      316           
=======================================
  Hits         1205     1205           
  Misses         43       43           
  Partials       61       61           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ktbarrett ktbarrett merged commit e6ca37e into dev Jun 19, 2026
15 checks passed
@ktbarrett ktbarrett deleted the array-static-index branch June 19, 2026 21:04
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.

1 participant