pkl / PR 1867

Improve error message when amending a property with no value set

apple/pkl#1867 mergedmixed

+149/−1lines
9files
0comments
2026-09-18opened
2026-09-21merged

What it touches

test: 6 main: 3

Modules: pkl-core (9)

Architectural impact (arcade-agent diff_impact)

3files mapped to the graph
91entities in those files
Corecomponents
2146entities within 3 hops downstream

Most depended-upon changed entities

EntityDependents
org.pkl.core.runtime.VmUtils511
org.pkl.core.ast.expression.literal.ObjectLiteralNode23

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/expression/literal/EmptyObjectLiteralNode.java
mainpkl-core/src/main/java/org/pkl/core/ast/expression/literal/ObjectLiteralNode.java
mainpkl-core/src/main/java/org/pkl/core/runtime/VmUtils.java
testpkl-core/src/test/files/LanguageSnippetTests/input/errors/amendPropertyWithNoDefault1.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/errors/amendPropertyWithNoDefault2.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/errors/amendPropertyWithNoDefault3.pkl
testpkl-core/src/test/files/LanguageSnippetTests/output/errors/amendPropertyWithNoDefault1.err
testpkl-core/src/test/files/LanguageSnippetTests/output/errors/amendPropertyWithNoDefault2.err
testpkl-core/src/test/files/LanguageSnippetTests/output/errors/amendPropertyWithNoDefault3.err