[PR #1312] [MERGED] Fix Map formatting #1008

Closed
opened 2025-12-30 01:28:15 +01:00 by adam · 0 comments
Owner

📋 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: mainHead: fix-map-formatting


📝 Commits (2)

📊 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.

## 📋 Pull Request Information **Original PR:** https://github.com/apple/pkl/pull/1312 **Author:** [@stackoverflow](https://github.com/stackoverflow) **Created:** 11/10/2025 **Status:** ✅ Merged **Merged:** 11/11/2025 **Merged by:** [@stackoverflow](https://github.com/stackoverflow) **Base:** `main` ← **Head:** `fix-map-formatting` --- ### 📝 Commits (2) - [`92cd922`](https://github.com/apple/pkl/commit/92cd92282d3945a53ddc283a867149a4fa401bb0) Fix Map formatting - [`ce19391`](https://github.com/apple/pkl/commit/ce19391cfb012e67a3ef6acb736034333f30a6a2) Add comment between pairs test ### 📊 Changes **3 files changed** (+50 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description Fixes #1307 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 01:28:15 +01:00
adam closed this issue 2025-12-30 01:28:15 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#1008