Original PR: https://github.com/apple/pkl/pull/1312 Author: @stackoverflow Created: 11/10/2025 Status: ✅ Merged Merged: 11/11/2025 Merged by: @stackoverflow
Base: main ← Head: fix-map-formatting
main
fix-map-formatting
92cd922
ce19391
3 files changed (+50 additions, -6 deletions)
📝 pkl-formatter/src/main/kotlin/org/pkl/formatter/Builder.kt (+22 -6) 📝 pkl-formatter/src/test/files/FormatterSnippetTests/input/map-function.pkl (+16 -0) 📝 pkl-formatter/src/test/files/FormatterSnippetTests/output/map-function.pkl (+12 -0)
pkl-formatter/src/main/kotlin/org/pkl/formatter/Builder.kt
pkl-formatter/src/test/files/FormatterSnippetTests/input/map-function.pkl
pkl-formatter/src/test/files/FormatterSnippetTests/output/map-function.pkl
Fixes #1307
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1312
Author: @stackoverflow
Created: 11/10/2025
Status: ✅ Merged
Merged: 11/11/2025
Merged by: @stackoverflow
Base:
main← Head:fix-map-formatting📝 Commits (2)
92cd922Fix Map formattingce19391Add comment between pairs test📊 Changes
3 files changed (+50 additions, -6 deletions)
View changed files
📝
pkl-formatter/src/main/kotlin/org/pkl/formatter/Builder.kt(+22 -6)📝
pkl-formatter/src/test/files/FormatterSnippetTests/input/map-function.pkl(+16 -0)📝
pkl-formatter/src/test/files/FormatterSnippetTests/output/map-function.pkl(+12 -0)📄 Description
Fixes #1307
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.