Skip to content

[ty] Apply narrowing to walrus values - #23687

Merged
charliermarsh merged 1 commit into
mainfrom
charlie/value-narrow
Mar 3, 2026
Merged

charliermarsh merged 1 commit into
mainfrom
charlie/value-narrow

Conversation

@charliermarsh

@charliermarsh charliermarsh commented Mar 3, 2026 •

Copy link
Copy Markdown
Member

@charliermarsh
charliermarsh force-pushed the charlie/value-narrow branch from 54721bb to 7adb235 Compare March 3, 2026 03:47
@charliermarsh charliermarsh added the ty The ty type checker label Mar 3, 2026
@astral-sh-bot

astral-sh-bot Bot commented Mar 3, 2026

Copy link
Copy Markdown

Typing conformance results

No changes detected ✅

@astral-sh-bot

astral-sh-bot Bot commented Mar 3, 2026

Copy link
Copy Markdown

mypy_primer results

No ecosystem changes detected ✅

@astral-sh-bot

astral-sh-bot Bot commented Mar 3, 2026

Copy link
Copy Markdown

Memory usage report

Memory usage unchanged ✅

@carljm carljm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you!

@charliermarsh
charliermarsh merged commit b017564 into main Mar 3, 2026
52 checks passed
@charliermarsh
charliermarsh deleted the charlie/value-narrow branch March 3, 2026 17:58
carljm added a commit that referenced this pull request Mar 3, 2026
* main:
  [ty] Apply narrowing to walrus values (#23687)
  [`perflint`] Extend `PERF102` to comprehensions and generators (#23473)
  [ty] Fix GitHub-annotations mdtest output format (#23694)
  [ty] Reduce the number of potentially-flaky projects (#23698)
  [`pydocstyle`] Fix numpy section ordering (`D420`) (#23685)
  [ty] Move method-related types to a submodule (#23691)
  [ty] Avoid the mandatory "ecosystem-analyzer workflow run cancelled" notification every time you make a PR (#23695)
  [ty] Move `Type::subtyping_is_always_reflexive` to `types::relation` (#23692)
  Update conformance suite commit hash (#23693)
  [ty] Add mdtest suite for `typing.Concatenate` (#23554)
  [ty] filter out pre-loop bindings from loop headers (#23536)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ty The ty type checker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

variable on right side of walrus operator is not narrowed

3 participants