Skip to content

Incorrect print of function under unary operator #6884

Closed
@cristianoc

Description

@cristianoc

(In uncurried mode, which is now always true).

This

!(arg => doStuffWith(arg))

formats to

!arg => doStuffWith(arg)

which does not parse.

Also, this:

let x = (x => print(x)).x

formats to

let x = x => print(x).x

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions