Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Formatter puts external bindings on the same line as their doc comments #639

Closed
@johnridesabike

Description

@johnridesabike

This code:

/**
  Does something.
 */
@val external foo: unit => unit = "foo"

/**
  Does something else
 */
let bar = () => ()

Formats to this:

/**
  Does something.
 */ @val external foo: unit => unit = "foo"

/**
  Does something else
 */
let bar = () => ()

This seems to be a regression in v10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions