pkl / PR 1847

Error when inferring a self type in a method argument

apple/pkl#1847 mergedmixed

+40/−1lines
5files
1comments
2026-09-03opened
2026-09-03merged

What it touches

main: 3 test: 2

Modules: pkl-core (5)

Architectural impact (arcade-agent diff_impact)

3files mapped to the graph
35entities in those files
Corecomponents
2022entities within 3 hops downstream

Most depended-upon changed entities

EntityDependents
org.pkl.core.ast.type.TypeNode504
org.pkl.core.ast.expression.member.AbstractInferParentNode7

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/member/AbstractInferParentNode.java
mainpkl-core/src/main/java/org/pkl/core/ast/expression/member/InferParentWithinMethodArgumentNode.java
mainpkl-core/src/main/java/org/pkl/core/ast/type/TypeNode.java
testpkl-core/src/test/files/LanguageSnippetTests/input/methods/inferParameterType.pkl
testpkl-core/src/test/files/LanguageSnippetTests/output/methods/inferParameterType.pcf