Skip to content

Fix arity of functions returning methods #110

Open
@71104

Description

@71104

Counting the length of a function must stop when this is encountered and it's not the first argument.

Examples:

fn x -> ...          # 1
fn x, y -> ...       # 2
fn this -> ...       # 0
fn this, x -> ...    # 1
fn this, x, y -> ... # 2
fn x, this, y -> ... # 1
fn x, y, this -> ... # 2
fn this, this -> ... # 1

This also affects marshalling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions