Skip to content

Support registering default argument converter #4628

@KotlinIsland

Description

@KotlinIsland

I would expect the following code to report an error or warning of some kind, given that the data being passed to this function is completely invalid.

def foo(a: Callable[[int], str]):
    print(a(1).upper())
foo    hi

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions