Skip to content

mypy throws error using min with a key function specified #1150

Closed
@timabbott

Description

@timabbott

Reproducer: min([1, 2], key = lambda x: -x)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmypy got something wrong

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions