Skip to content

Allow for passing through multiple return values from a function return #424

Description

@rkalis

Currently, this is not allowed:

function pair(int a) returns (int, int) {
    return a, a + 1;
}

function forward(int a) returns (int, int) {
    return pair(a);
}

We can consider making that allowed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cashc-compilerRelates to the cashc compiler

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions