Skip to content

Pretty printer can break partial application in uncurried #6299

Closed
@zth

Description

@zth

When formatting an expression that has partial application via ..., and the application is formatted on several lines, the pretty printer adds a trailing , after the partial application..., like ...,. Try pressing format on this playground to see it in effect: https://rescript-lang.org/try?version=v11.0.0-beta.1&code=DYUwLgBAZgdhC8EAUBLANBAfgCxMYA9hpgLYEBOIA4gSAM4ASIlxADuQQG4oDWKMAcwCyAV2BgUwfiABiFEgEMwEwQrXqNmzQEoEAPggBvAFAQIKCAGoIufASsQylGvSaUH7Lr37CxEqTCy8koqAlrh4cYAvsbGoJCsCuQSCsAIptAwSDh4hPAAjMRO1LSMzCAFbBzcfIKi4pLScuSKyj4RHeqVEAB0fdrGQA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions