pkl / PR 1811

Throw when an object key `default` would become a `Dynamic` property

apple/pkl#1811 openmixed

+196/−1lines
13files
2comments
2026-08-05opened
-merged

What it touches

test: 8 main: 4 docs: 1

Modules: pkl-core (12), docs (1)

Architectural impact (arcade-agent diff_impact)

2files mapped to the graph
6entities in those files
Core, Formattercomponents
0entities within 3 hops downstream

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

docsdocs/modules/release-notes/pages/0.33.adoc
mainpkl-core/src/main/java/org/pkl/core/stdlib/json/ParserNodes.java
mainpkl-core/src/main/java/org/pkl/core/stdlib/yaml/ParserNodes.java
mainpkl-core/src/main/java/org/pkl/core/util/yaml/ParseException.java
mainpkl-core/src/main/resources/org/pkl/core/errorMessages.properties
testpkl-core/src/test/files/LanguageSnippetTests/input/api/jsonParser1.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/api/yamlParser2.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/errors/jsonParserDefaultProperty.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/errors/yamlParserDefaultProperty.pkl
testpkl-core/src/test/files/LanguageSnippetTests/output/api/jsonParser1.pcf
testpkl-core/src/test/files/LanguageSnippetTests/output/api/yamlParser2.pcf
testpkl-core/src/test/files/LanguageSnippetTests/output/errors/jsonParserDefaultProperty.err
testpkl-core/src/test/files/LanguageSnippetTests/output/errors/yamlParserDefaultProperty.err