Skip to content

[red-knot] Cleanup various todo_type!() messages#15063

Merged
AlexWaygood merged 2 commits intomainfrom
alex/redknot-todo-messages
Dec 19, 2024
Merged

[red-knot] Cleanup various todo_type!() messages#15063
AlexWaygood merged 2 commits intomainfrom
alex/redknot-todo-messages

Conversation

@AlexWaygood
Copy link
Member

Summary

No functional change here -- this just improves our todo_type!() messages in several places. At some locations, this involves propagating an existing TODO message instead of overwriting it with a worse one (or overwriting it with no TODO message at all)

Test Plan

cargo test -p red_knot_python_semantic

@AlexWaygood AlexWaygood added the ty Multi-file analysis & type inference label Dec 19, 2024
@AlexWaygood AlexWaygood enabled auto-merge (squash) December 19, 2024 12:53
@AlexWaygood AlexWaygood force-pushed the alex/redknot-todo-messages branch from 1e7b7ee to c02bf09 Compare December 19, 2024 12:54
@AlexWaygood AlexWaygood disabled auto-merge December 19, 2024 12:58
Co-authored-by: Micha Reiser <micha@reiser.io>
@AlexWaygood AlexWaygood enabled auto-merge (squash) December 19, 2024 12:58
@AlexWaygood AlexWaygood merged commit 40cba5d into main Dec 19, 2024
@AlexWaygood AlexWaygood deleted the alex/redknot-todo-messages branch December 19, 2024 13:03
@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants