Skip to content

a joining of two types becomes object not a union #11440

Description

@KotlinIsland
for it in 1, "1":
    reveal_type(it)  # object

I would expect int | str

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmypy got something wrongtopic-join-v-unionUsing join vs. using unions

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions