mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
[PR #1283] [MERGED] Fix formatting of argument lists #1000
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/1283
Author: @bioball
Created: 11/3/2025
Status: ✅ Merged
Merged: 11/3/2025
Merged by: @bioball
Base:
main← Head:fix-line-comment-formatting📝 Commits (2)
73a4371Fix formatting of argument listsda04db0Revert getBaseSeparator logic📊 Changes
6 files changed (+82 additions, -33 deletions)
View changed files
📝
pkl-formatter/src/main/kotlin/org/pkl/formatter/Builder.kt(+21 -20)📝
pkl-formatter/src/test/files/FormatterSnippetTests/input/method-call-trailing-lambdas.pkl(+24 -0)📝
pkl-formatter/src/test/files/FormatterSnippetTests/output/line-breaks.pkl(+4 -3)📝
pkl-formatter/src/test/files/FormatterSnippetTests/output/method-call-trailing-lambdas.pkl(+29 -0)📝
pkl-parser/src/main/java/org/pkl/parser/GenericParser.java(+3 -3)📝
pkl-parser/src/main/java/org/pkl/parser/syntax/generic/FullSpan.java(+1 -7)📄 Description
This fixes two issues:
true)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.