Skip to content

Function signature matching fails at import #18060

Open
@jolaf

Description

@jolaf

Bug Report

The provided test defines a function with the same type signature in two ways, directly and through import.

mypy objects that functions are incompatible.

To Reproduce

https://gist.github.com/mypy-play/a5f51cd9246e6478516af53493402890

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions