syntax icon indicating copy to clipboard operation
syntax copied to clipboard

Weird formatting when using curried function as a return value (in external)

Open bobzhang opened this issue 4 years ago • 1 comments

external useUpdateAtom: (t<'value, 'setValue>) => (. 'value) => unit = "useUpdateAtom"

is formatted into

external useUpdateAtom: (t<'value, 'setValue>, . 'value) => unit = "useUpdateAtom"

bobzhang avatar Sep 19 '21 01:09 bobzhang

Possible dupe of https://github.com/rescript-lang/syntax/issues/259?

jfrolich avatar Sep 20 '21 00:09 jfrolich

The rescript-lang/syntax repo is obsolete and will be archived soon. If this issue is still relevant, please reopen in the compiler repo (https://github.com/rescript-lang/rescript-compiler) or comment here to ask for it to be moved. Thank you for your contributions.

stale[bot] avatar May 28 '23 19:05 stale[bot]