Skip to content

code action for narrowing the value with an is not None #4169

Description

@asukaminato0721
def g(y: int):...
def f(x: int | None):
    g(x)

Metadata

Metadata

Labels

language-serverIssues specific to our IDE integration rather than type checkingnarrowingIssues with narrowing - root cause is usually narrowing, flow handling, or both

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions