Skip to content

one-liner functions #68

@cooper

Description

@cooper

Methods and computed properties can be written as one-liners like

method someMethod -> "Return value"
.twotimesfour -> 2 * 4

For some reason it's not working for functions. It should. Anons too.

func F -> "ret"
$f = func -> "ret"

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions