Skip to content

Syntax for object definition #8

@BraedonWooding

Description

@BraedonWooding

Either;

A : B::C() {
}

or

A : B = B::C() {
}
// Which is the same as
A := B::C() {
}

The second syntax is more inline with literal definition which is a : b = c i.e. myNum : int = 5 or myNum := 5

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