[ty] Improve generic call expression inference by ibraheemdev · Pull Request #21210 · astral-sh/ruff (original) (raw)

@ibraheemdev added the ty

Multi-file analysis & type inference

label

Nov 3, 2025

This was referenced

Nov 3, 2025

@ibraheemdev ibraheemdev changed the base branch from main to ibraheem/typed-dict-assignability

November 3, 2025 18:18

Base automatically changed from ibraheem/typed-dict-assignability to main

November 3, 2025 21:57

ibraheemdev added a commit that referenced this pull request

Nov 5, 2025

@ibraheemdev

…nce (#21275)

Summary

Splitting this one out from #21210. This is also something that should be made obselete by the new constraint solver, but is easy enough to fix now.

MichaReiser

AlexWaygood

@ibraheemdev

carljm

ibraheemdev added a commit that referenced this pull request

Nov 10, 2025

@ibraheemdev

dcreager added a commit that referenced this pull request

Nov 11, 2025

@dcreager

ibraheemdev added a commit that referenced this pull request

Mar 13, 2026

@ibraheemdev

Instead of ignoring intermediate inference results, we can create a temporary TypeInferenceBuilder and merge the chosen inference results into the current region. This should hopefully reclaim some of the performance regressions introduced by #23844 and #21210.

KotlinIsland pushed a commit to KotlinIsland/basedpython that referenced this pull request

May 1, 2026

@ibraheemdev

…nce (#21275)

Summary

Splitting this one out from astral-sh/ruff#21210. This is also something that should be made obselete by the new constraint solver, but is easy enough to fix now.

KotlinIsland pushed a commit to KotlinIsland/basedpython that referenced this pull request

May 1, 2026

@ibraheemdev

KotlinIsland pushed a commit to KotlinIsland/basedpython that referenced this pull request

May 1, 2026

@ibraheemdev

Instead of ignoring intermediate inference results, we can create a temporary TypeInferenceBuilder and merge the chosen inference results into the current region. This should hopefully reclaim some of the performance regressions introduced by astral-sh/ruff#23844 and astral-sh/ruff#21210.

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 }})