mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
Provide proper error message when rendering cyclical objects #54
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HSMF on GitHub (Feb 11, 2024).
Problem
The
pklexecutable does not properly handle recursive objects.Context
What are/were you trying to achieve?
Trying out pkl
What’s the impact of this bug/feature?
User Experience for the pkl binary is impacted
output of
pkl --versionSteps to reproduce
recursive.pklwith the following contents:pkl eval recursive.pklExpected Behavior
A user-friendly error to be displayed
Actual Behavior
(Error Message is abbreviated as the actual backtrace is 1039 lines long)
@bioball commented on GitHub (Feb 13, 2024):
This is a known issue; thanks for the bug report.