Skip to content

Fix ty failure on master from the #50/#51 merge crossover#52

Merged
Korijn merged 1 commit into
masterfrom
claude/fix-typecheck
Jul 11, 2026
Merged

Fix ty failure on master from the #50/#51 merge crossover#52
Korijn merged 1 commit into
masterfrom
claude/fix-typecheck

Conversation

@Korijn

@Korijn Korijn commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

One-line fix: master's Typecheck job is currently red. #51 added int(key) in Pointer.evaluate before #50's typing landed, and each PR's CI ran against a base without the other — merged together, key is Hashable and int() wants something str-ish. Cast at the conversion site; the retry path only runs for string tokens parsed by Pointer.from_str.

Verified: ty check clean, pointer tests pass, ruff clean. Worth merging ahead of the Track E PRs so their Typecheck runs are meaningful.

🤖 Generated with Claude Code

https://claude.ai/code/session_016Mu9vEBwU4fQLi8ZgkgdS2


Generated by Claude Code

PR #51 added int(key) in Pointer.evaluate before PR #50's typing
landed; merged together they leave master's Typecheck job red (key is
Hashable, int() wants str-ish). Cast at the conversion site — the
retry only runs for parsed string tokens.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016Mu9vEBwU4fQLi8ZgkgdS2
@Korijn Korijn merged commit 8ed98ac into master Jul 11, 2026
11 checks passed
@Korijn Korijn deleted the claude/fix-typecheck branch July 11, 2026 08:35
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