Skip to content

Function overload calling syntax #1614

Closed
@SoniEx2

Description

@SoniEx2

There should be a way to call function overloads, I propose f::<T>::(argt)(argv). E.g. f::(())(()) would call a function defined as fn f(_x: ()) -> ? when you have multiple f with different args.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-langRelevant to the language team, which will review and decide on the RFC.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions