Skip to content

narrow literal types #717

@KotlinIsland

Description

@KotlinIsland
a = "is this a joke"
reveal_type(a)  # str

b: str
assert b == "is this a joke"
reveal_type(b)  # str

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions