Skip to content

Type inference for cat #5339

@simonster

Description

@simonster

The return type of cat is determined by the value of the dim argument as well as the types of the inputs, which means we can't infer the dimensionality of the returned array. OTOH dim is usually constant, so we usually have all of the information necessary to determine the return type at compile time, just not in a way that type inference can use. What is the best approach here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions