Skip to content

Fix arity of functions returning methods #110

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions