Skip to content

compat: Support upcoming TypeEgal FSMI wrappers#163

Open
Keno wants to merge 1 commit into
JuliaDynamics:masterfrom
KenoAIStaging:kf/typeegal-compat
Open

compat: Support upcoming TypeEgal FSMI wrappers#163
Keno wants to merge 1 commit into
JuliaDynamics:masterfrom
KenoAIStaging:kf/typeegal-compat

Conversation

@Keno

@Keno Keno commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

The Base PR JuliaLang/julia#62001 is expected to spell exact closed type-object dispatch keys as Core.TypeEgal. Accept Core.TypeEq and Core.TypeEgal generated-function dispatch wrappers when they are available, while preserving the existing Type{Type{T}} path on older Julia versions.

A <:T-style signature would also accept the new spelling, as discussed in Ferrite-FEM/Tensors.jl#249. The structural unwrap used here asks slightly less of the compiler, since it avoids solving the extra subtype relation in this generated-function helper path.

AI disclosure: This commit was prepared with assistance from generative AI. The resulting PR should be checked carefully by a maintainer before merging.

The Base PR JuliaLang/julia#62001 is expected to spell exact closed type-object dispatch keys as Core.TypeEgal. Accept Core.TypeEq and Core.TypeEgal generated-function dispatch wrappers when they are available, while preserving the existing Type{Type{T}} path on older Julia versions.

A <:T-style signature would also accept the new spelling, as discussed in Ferrite-FEM/Tensors.jl#249. The structural unwrap used here asks slightly less of the compiler, since it avoids solving the extra subtype relation in this generated-function helper path.

AI disclosure: This commit was prepared with assistance from generative AI. The resulting PR should be checked carefully by a maintainer before merging.

Co-authored-by: OpenAI Codex <codex@openai.com>
@codecov-commenter

codecov-commenter commented Jun 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.08%. Comparing base (9676438) to head (26112b8).

Files with missing lines Patch % Lines
src/utils.jl 50.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #163      +/-   ##
==========================================
- Coverage   80.57%   80.08%   -0.49%     
==========================================
  Files           6        6              
  Lines         695      698       +3     
==========================================
- Hits          560      559       -1     
- Misses        135      139       +4     

☔ 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.

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