Skip to content

Clean-up type variable scope and binding #4814

Closed
@ilevkivskyi

Description

@ilevkivskyi

Currently the code around type variable binding in functions is a bit unclear and does some strange things like binding typer variables before function type is analyzed and depending on TypeVarQuery returning short (unqualified) names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    metaIssues tracking a broad area of workpriority-1-normalrefactoringChanging mypy's internalssemantic-analyzerProblems that happen during semantic analysis

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions