[ty] Detect generic Callables in function signatures by dcreager · Pull Request #22954 · astral-sh/ruff (original) (raw)
Multi-file analysis & type inference
label
dcreager deleted the dcreager/callable-genctx branch
carljm pushed a commit that referenced this pull request
…ParamSpec+Concatenate
Bisected the issue to commit 4f684db ([ty] Detect generic Callables
in function signatures #22954). The heuristic for detecting generic
Callables in return position incorrectly interacts with ParamSpec +
Concatenate patterns used in decorators like hypothesis.composite.
https://claude.ai/code/session_01MiAwMHE7cSZFmdRugzFrE2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})