rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

Improve multiline printing of record types and values

Open shulhi opened this issue 1 month ago • 1 comments

Fix https://github.com/rescript-lang/rescript/issues/7961

The formatting of the transformed JSX forces multiline for props with this change. However, I think this is fine because users won't actually see the transformed JSX anyways.

shulhi avatar Oct 25 '25 11:10 shulhi

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@7993
@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7993
@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7993
@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7993
@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7993
@rescript/runtime

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@7993
@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7993

commit: ac43816

pkg-pr-new[bot] avatar Oct 25 '25 12:10 pkg-pr-new[bot]