pkl / PR 1663

Handle modulo by 0

apple/pkl#1663 openmixed

+23/−1lines
5files
1comments
2026-06-06opened
-merged

What it touches

test: 4 main: 1

Modules: pkl-core (5)

Architectural impact (arcade-agent diff_impact)

1files mapped to the graph
16entities in those files
Core, Parsercomponents
15entities within 3 hops downstream

Most depended-upon changed entities

EntityDependents
org.pkl.core.runtime.VmSafeMath15

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/runtime/VmSafeMath.java
testpkl-core/src/test/files/LanguageSnippetTests/input/basic/float.pkl
testpkl-core/src/test/files/LanguageSnippetTests/input/basic/int.pkl
testpkl-core/src/test/files/LanguageSnippetTests/output/basic/float.pcf
testpkl-core/src/test/files/LanguageSnippetTests/output/basic/int.pcf