Skip to content

should min and max promote their arguments? #212

Closed
@StefanKarpinski

Description

@StefanKarpinski

On the one hand, if we don't promote, as we do now, min and max are prone to nasty union return types. On the other hand, if we promote, the returned value will not, in general, be one of the input values, but rather, a promoted value that is equal to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingThis change will break codeneeds decisionA decision on this change is neededperformanceMust go faster

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions