mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #1280] [MERGED] Don't force multiline interpolation into a single line #993
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/1280
Author: @bioball
Created: 10/31/2025
Status: ✅ Merged
Merged: 10/31/2025
Merged by: @bioball
Base:
main← Head:string-interpolation-formatting-fixes📝 Commits (3)
fe2516cDon't force multiline expressions into a single line in string interpolation9149e20Update pkl-formatter/src/main/kotlin/org/pkl/formatter/Builder.kt1bc5d88Add PR number to release notes📊 Changes
5 files changed (+69 additions, -16 deletions)
View changed files
📝
docs/modules/release-notes/pages/0.30.adoc(+1 -1)📝
pkl-formatter/src/main/kotlin/org/pkl/formatter/Builder.kt(+13 -13)📝
pkl-formatter/src/test/files/FormatterSnippetTests/input/string-interpolation.pkl(+26 -1)📝
pkl-formatter/src/test/files/FormatterSnippetTests/output/multi-line-strings.pkl(+3 -1)📝
pkl-formatter/src/test/files/FormatterSnippetTests/output/string-interpolation.pkl(+26 -0)📄 Description
Also, fixes an issue where forced single-line formatting would break for if/else and let expressions
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.