Skip to content

Broken generic default #61873

Closed as not planned
Closed as not planned
@tien

Description

@tien

Encountered this weird bug where generic default got broken, but not when value is assigned to a var before being returned:

Image Image Image Image

The typing of this particular case is rather complex, so I wanted to make sure that it's definitely bug before trying to create a minimum reproduction 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    UnactionableThere isn't something we can do with this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions