Skip to content
This repository has been 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 opened this issue Sep 18, 2022 · 1 comment

Comments

@johnridesabike
Copy link

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

@cristianoc
Copy link
Contributor

cristianoc commented Sep 19, 2022

Thanks for the report.

Seems to be about doc comments and attributes #642

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants