Skip to content
This repository was archived by the owner on Aug 3, 2020. It is now read-only.
This repository was archived by the owner on Aug 3, 2020. It is now read-only.

Implement new form for function signature #2

@cwells

Description

@cwells

The current form ( name: type ("," name: type)* ) doesn't allow for default values.

Proposed solution: ( type name ("=" default)* ("," type name ("=" default)*)* )

e.g. (int i, int j=10)

Will need to trap this to prevent assignment from taking over (or continue using ":" rather than "=").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions