Skip to content

WhoopProtocol test: break up gravity-magnitude expression for the type-checker#12

Merged
digitalerdude merged 1 commit into
mainfrom
whoopprotocol-typecheck-fix
Jul 9, 2026
Merged

WhoopProtocol test: break up gravity-magnitude expression for the type-checker#12
digitalerdude merged 1 commit into
mainfrom
whoopprotocol-typecheck-fix

Conversation

@digitalerdude

Copy link
Copy Markdown
Owner

Summary

Test plan

🤖 Generated with Claude Code

…e-checker

The single-line nested-optional-coalescing form (gx ?? 0) * (gx ?? 0) + ...
occasionally blew the Swift type-checker's time budget in CI ("unable to
type-check this expression in reasonable time"), failing the WhoopProtocol
test job on unrelated PRs. A compiler perf cliff, not a real ambiguity;
naming the intermediate values fixes it without changing behavior.
@digitalerdude digitalerdude merged commit dfa458d into main Jul 9, 2026
8 checks passed
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