Skip to content

Remove implicit this argument #98

@giann

Description

@giann

Since buzz is supposed to be unambiguous do we need implicit this argument for objects' methods?

object Person {
    str name,

    fun sayHello(str to) -> print("Hello {to} from {this.name}");
}

would become

object Person {
    str name,

    fun sayHello(Person this, str to) -> print("Hello {to} from {this.name}");
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    languageIssue related to the languageproposalSomething we consider doing

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions