Skip to content

tail return proposal #1761

Open
Open
@josh11b

Description

@josh11b

I think the Carbon project would welcome a proposal to add an explicit syntax that forces a tail call. This is aligned with our goals of predictable performance and giving the user explicit control.

My syntax suggestion: tail return F(...);.

Background:

Metadata

Metadata

Assignees

No one assigned

    Labels

    long term issueIssues expected to take over 90 days to resolve. Does not apply to PRs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions