Skip to content

[ty] Preserve cycle detection in unary overload aggregation#23870

Merged
charliermarsh merged 1 commit intomainfrom
charlie/un
Mar 10, 2026
Merged

[ty] Preserve cycle detection in unary overload aggregation#23870
charliermarsh merged 1 commit intomainfrom
charlie/un

Conversation

@charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Mar 10, 2026

Summary

The fast path was discarding the cycle detector visitors.

Closes astral-sh/ty#3015.

@astral-sh-bot astral-sh-bot bot added the ty Multi-file analysis & type inference label Mar 10, 2026
@charliermarsh charliermarsh added the bug Something isn't working label Mar 10, 2026
@astral-sh-bot
Copy link

astral-sh-bot bot commented Mar 10, 2026

Typing conformance results

No changes detected ✅

Current numbers
The percentage of diagnostics emitted that were expected errors held steady at 85.05%. The percentage of expected errors that received a diagnostic held steady at 78.05%. The number of fully passing files held steady at 63/132.

@astral-sh-bot
Copy link

astral-sh-bot bot commented Mar 10, 2026

mypy_primer results

Changes were detected when running on open source projects
scikit-build-core (https://github.com/scikit-build/scikit-build-core)
- src/scikit_build_core/build/wheel.py:99:20: error[no-matching-overload] No overload of bound method `__init__` matches arguments
- Found 60 diagnostics
+ Found 59 diagnostics

@astral-sh-bot
Copy link

astral-sh-bot bot commented Mar 10, 2026

Memory usage report

Memory usage unchanged ✅

@AlexWaygood AlexWaygood assigned AlexWaygood and unassigned sharkdp Mar 10, 2026
@charliermarsh charliermarsh merged commit db0cf59 into main Mar 10, 2026
50 checks passed
@charliermarsh charliermarsh deleted the charlie/un branch March 10, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stack overflow on self-referential protocol

3 participants