Skip to content

Extract magnitudes at explicit scalar boundaries - #596

Merged
j-emberton merged 1 commit into
mainfrom
fix/explicit-scalar-magnitude-boundaries
Dec 2, 2026
Merged

j-emberton merged 1 commit into
mainfrom
fix/explicit-scalar-magnitude-boundaries

Conversation

@j-emberton

Copy link
Copy Markdown
Contributor

Final targeted CYOF #650 migration follow-up. Preserve known quantity kinds through convert_to/cast_to, use existing float conversion at explicit scalar returns and direct broadcast_to returns inside an already selected non-tensor branch. Avoid speculative scalar comparison inference, stale guards and shadowed builtins. Retain manual review for ambiguous cases. Regression tests cover rewritten source, repeat migration, rejected inference and existing runtime conversion contract. No public API change.

@j-emberton
j-emberton force-pushed the fix/explicit-scalar-magnitude-boundaries branch from aa343ae to e75bb38 Compare December 2, 2026 09:49
@j-emberton
j-emberton force-pushed the fix/explicit-scalar-magnitude-boundaries branch from e75bb38 to 04d52b9 Compare December 2, 2026 09:51
@j-emberton
j-emberton merged commit f7727f8 into main Dec 2, 2026
2 checks passed
@j-emberton
j-emberton deleted the fix/explicit-scalar-magnitude-boundaries branch December 2, 2026 09:55
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