Skip to content

Type callbacks with comments mistransformed leading to a syntax error #396

@JohnnyMorganz

Description

@JohnnyMorganz
type Foo = (
	a: X & -- test
	Y
) -> string

type Foo = () -> X & -- test
    Y

... gets formatted as ...

type Foo = (
	a: X & -- test
	Y
) -> string

type Foo = () -> X & -- test
Y

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