Skip to content

format can change multiline strings #8443

Closed

Description

@pdewacht

rescript format (12.3.0) will change this code:

let oops // comment
= "
multiline
"

into:

let oops = " // comment
multiline
"

Activity

  1. fhammerschmidt commented on May 26, 2026

    @fhammerschmidt
    Member

    Thanks for reporting!
    This appears to be not a regression. It existed at least since 10.1.2 (oldest ReScript playground version).

  2. added
    formatter
    on May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

formatter

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions