mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 23:23:37 +01:00
[PR #1245] [CLOSED] Let expression formatting changes #963
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1245
Author: @bioball
Created: 10/19/2025
Status: ❌ Closed
Base:
main← Head:let-expr-formatting-fixes📝 Commits (1)
163cb5aLet expression formatting changes📊 Changes
4 files changed (+28 additions, -6 deletions)
View changed files
📝
pkl-formatter/src/main/kotlin/org/pkl/formatter/Builder.kt(+4 -4)➕
pkl-formatter/src/test/files/FormatterSnippetTests/input/expr-let-if.pkl(+9 -0)➕
pkl-formatter/src/test/files/FormatterSnippetTests/output/expr-let-if.pkl(+11 -0)📝
pkl-formatter/src/test/files/FormatterSnippetTests/output/expr-let.pkl(+4 -2)📄 Description
This add a newline after opening
(in a let expression when multilined. As a side-effect, this also fixes an issue where let expressions are incorrectly doubly indented.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.