Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncurried needs to default to true for ReScript 11 #863

Closed
cknitt opened this issue Dec 12, 2023 · 0 comments · Fixed by #867
Closed

Uncurried needs to default to true for ReScript 11 #863

cknitt opened this issue Dec 12, 2023 · 0 comments · Fixed by #867

Comments

@cknitt
Copy link
Member

cknitt commented Dec 12, 2023

In ReScript 11, "uncurried" is true by default (i.e., if not set explicitly in rescript.json).
However, it seems the VSCode plugin still assumes that the default is false.

To test: Create a new project using npm create rescript-app@next with the "Basic" template and add "let f = () => ()" to Demo.res.

Observe CodeLens / tool tips showing the function type as (. unit) => unit.

Bildschirmfoto 2023-12-12 um 14 11 49

(tested with the latest prerelease version 1.29.5)

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

Successfully merging a pull request may close this issue.

1 participant