pkl / PR 1848

Use `ChoiceFormat` for better plurals in error messages

apple/pkl#1848 mergedmixed

+30/−11lines
6files
2comments
2026-09-04opened
2026-09-10merged

What it touches

main: 3 test: 3

Modules: pkl-core (5), pkl-executor (1)

Architectural impact (arcade-agent diff_impact)

2files mapped to the graph
17entities in those files
Corecomponents
254entities within 3 hops downstream

Most depended-upon changed entities

EntityDependents
org.pkl.core.ast.member.FunctionNode6

Computed against the current default branch, not the PR base commit; files renamed or deleted since then are unmatched. Downstream counts are a reverse-dependency closure to depth 3 and over-approximate real blast radius.

Files

mainpkl-core/src/main/java/org/pkl/core/ast/member/FunctionNode.java
mainpkl-core/src/main/java/org/pkl/core/ast/type/IdentityMixinNode.java
mainpkl-core/src/main/resources/org/pkl/core/errorMessages.properties
testpkl-core/src/test/files/LanguageSnippetTests/input/lambdas/wrongArgumentListLength.pkl
testpkl-core/src/test/files/LanguageSnippetTests/output/lambdas/wrongArgumentListLength.err
testpkl-executor/src/test/kotlin/org/pkl/executor/EmbeddedExecutorTest.kt