Skip to content

Bug when using nested function applications #43

@jamesfer

Description

@jamesfer

This code:

let identity = a -> a
add (identity 5) (identity 10)

compiles to this:

const add = $leftBinaryParam => $rightBinaryParam => $leftBinaryParam + $rightBinaryParam;

const identity = a$rename$16 => a$rename$16;

export default add(identity(10));

The first parameter is missing

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions