Skip to content

Lowercase error messages and bump version to 0.5.9 - #70

Merged
Jutho merged 1 commit into
mainfrom
jh/lowercase-errors
Nov 28, 2026
Merged

Jutho merged 1 commit into
mainfrom
jh/lowercase-errors

Conversation

@Jutho

@Jutho Jutho commented Nov 28, 2026

Copy link
Copy Markdown
Member

Makes the error messages consistent with Base Julia and with Strided.jl, which reuses _throw_invalidperm from StridedViews (see QuantumKitHub/Strided.jl#104):

  • All messages start with a lowercase letter: invalid permutation of length N: p, cannot reshape a StridedView of size ... to size ..., and the ReshapeException message.
  • The two reinterpretation errors now say what is required: cannot reinterpret a StridedView with element type S as element type T: both must be bits types of the same size, and cannot reinterpret a StridedView with a non-identity operation (conj, transpose or adjoint).
  • Bumps the version to 0.5.9, so this can be tagged directly.

Only message text changes; the exception types are the same.

🤖 Generated with Claude Code

Follows the convention of Base Julia, and of Strided.jl. The messages
about reinterpretation now also say what is required.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jutho

Jutho commented Nov 28, 2026

Copy link
Copy Markdown
Member Author

That was quick. You are reviewing my 🤖 PRs before I can myself 😄 .

@Jutho
Jutho merged commit cc1ffb4 into main Nov 28, 2026
12 of 13 checks passed
@Jutho
Jutho deleted the jh/lowercase-errors branch November 28, 2026 22:34
@codecov

codecov Bot commented Nov 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/auxiliary.jl 0.00% 4 Missing ⚠️
src/stridedview.jl 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/stridedview.jl 30.85% <0.00%> (ø)
src/auxiliary.jl 68.18% <0.00%> (ø)

... and 1 file with indirect coverage changes

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

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