Skip to content

(🐞) No error when empty tuple used as type parameter #12316

Open
@KotlinIsland

Description

@KotlinIsland
l: list[()][int]

No mypy error but this fails at runtime.

I have no idea what this supposed to do, empty tuple as an argument is only mentioned in the pep for tuple

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions