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.

Uncurried function in record converted incorectly from *.re syntax #218

@JasoonS

Description

@JasoonS

I tried to make a smaller reproduction of this error, but it didn't work. So apologies for that.

Steps to reproduce:

git clone [email protected]:JasoonS/ui.git
git checkout d8c29c4
yarn
./node_modules/.bin/bsc -format "./src/harberger-lib/Web3.re" -> "./src/harberger-lib/Web3.res"
rm -f ./src/harberger-lib/Web3.re

You get the code on the left after this:
image

Which needs to be corrected to the code in green on the right (here is the original reason code: https://github.com/JasoonS/ui/blob/d8c29c48704ccf32e492cfab1fd0f2b77738ef83/src/harberger-lib/RootProvider.re#L229)

And here is the corresponding error:
image

(this is using the latest bs-platform - 8.4.2)

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