[PR #1272] [MERGED] Handle trailing commas in types #987

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

📋 Pull Request Information

Original PR: https://github.com/apple/pkl/pull/1272
Author: @stackoverflow
Created: 10/30/2025
Status: Merged
Merged: 10/30/2025
Merged by: @stackoverflow

Base: mainHead: fix-comma-in-types


📝 Commits (1)

  • ab959e1 Handle trailing commas in types

📊 Changes

3 files changed (+4 additions, -3 deletions)

View changed files

📝 pkl-formatter/src/test/files/FormatterSnippetTests/input/comma-termination.pkl (+1 -1)
📝 pkl-formatter/src/test/files/FormatterSnippetTests/output/comma-termination.pkl (+1 -1)
📝 pkl-parser/src/main/java/org/pkl/parser/GenericParser.java (+2 -1)

📄 Description

No description provided


🔄 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/1272 **Author:** [@stackoverflow](https://github.com/stackoverflow) **Created:** 10/30/2025 **Status:** ✅ Merged **Merged:** 10/30/2025 **Merged by:** [@stackoverflow](https://github.com/stackoverflow) **Base:** `main` ← **Head:** `fix-comma-in-types` --- ### 📝 Commits (1) - [`ab959e1`](https://github.com/apple/pkl/commit/ab959e1fc92fddc263ab9050ecbf0f32afa77fba) Handle trailing commas in types ### 📊 Changes **3 files changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `pkl-formatter/src/test/files/FormatterSnippetTests/input/comma-termination.pkl` (+1 -1) 📝 `pkl-formatter/src/test/files/FormatterSnippetTests/output/comma-termination.pkl` (+1 -1) 📝 `pkl-parser/src/main/java/org/pkl/parser/GenericParser.java` (+2 -1) </details> ### 📄 Description _No description provided_ --- <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:08 +01:00
adam closed this issue 2025-12-30 01:28:08 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#987