Skip to content

Uncurried needs to default to true for ReScript 11 #863

Closed
@cknitt

Description

@cknitt

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)

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