Skip to content

[ty] hotfix panic in semantic tokens#21632

Merged
Gankra merged 1 commit intomainfrom
gankra/hotfix
Nov 25, 2025
Merged

[ty] hotfix panic in semantic tokens#21632
Gankra merged 1 commit intomainfrom
gankra/hotfix

Conversation

@Gankra
Copy link
Contributor

@Gankra Gankra commented Nov 25, 2025

@Gankra Gankra changed the title hotfix panic in semantic tokens [ty] hotfix panic in semantic tokens Nov 25, 2025
@Gankra Gankra added server Related to the LSP server ty Multi-file analysis & type inference labels Nov 25, 2025
@astral-sh-bot
Copy link

astral-sh-bot bot commented Nov 25, 2025

Diagnostic diff on typing conformance tests

No changes detected when running ty on typing conformance tests ✅

@astral-sh-bot
Copy link

astral-sh-bot bot commented Nov 25, 2025

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:98:20: error[no-matching-overload] No overload of bound method `__init__` matches arguments
- Found 44 diagnostics
+ Found 45 diagnostics

dd-trace-py (https://github.com/DataDog/dd-trace-py)
- ddtrace/appsec/_handlers.py:404:13: error[invalid-argument-type] Argument to bound method `add_configurations` is incorrect: Expected `list[tuple[str, str, str]]`, found `list[Unknown | tuple[str, int, Unknown]] & list[tuple[str, str, str] | tuple[str, int, Unknown]]`
+ ddtrace/appsec/_handlers.py:404:13: error[invalid-argument-type] Argument to bound method `add_configurations` is incorrect: Expected `list[tuple[str, str, str]]`, found `list[tuple[str, str, str] | tuple[str, int, Unknown]] & list[Unknown | tuple[str, int, Unknown]]`

No memory usage changes detected ✅

@Gankra Gankra merged commit 5364256 into main Nov 25, 2025
41 of 42 checks passed
@Gankra Gankra deleted the gankra/hotfix branch November 25, 2025 22:09
oconnor663 added a commit to astral-sh/ty that referenced this pull request Nov 25, 2025
This fixes a feature that's shipping in this release, so it won't get a
separate mention in the CHANGELOG.
@oconnor663
Copy link
Contributor

astral-sh/ty@e1ebb31 pulls this into astral-sh/ty#1638.

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

Labels

server Related to the LSP server ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Server crash on string annotation with float/complex

2 participants