Fatal error on mistyping output #221

Closed
opened 2025-12-30 01:22:26 +01:00 by adam · 0 comments
Owner

Originally created by @cakemanny on GitHub (Oct 18, 2024).

I got a bit confused and tried to re-type what turned out to be the special output property. This seems to crash the CLI.

Given whoops.pkl

output: String = "hi"

Upon evaluation, it asks that I file this bug report.

% pkl eval whoops.pkl 
An unexpected error has occurred. Would you mind filing a bug report?
% echo $?
1
% pkl --version
Pkl 0.26.3 (macOS 14.4.1, native)
Originally created by @cakemanny on GitHub (Oct 18, 2024). I got a bit confused and tried to re-type what turned out to be the special `output` property. This seems to crash the CLI. Given **whoops.pkl** ```pkl output: String = "hi" ``` Upon evaluation, it asks that I file this bug report. ```shell % pkl eval whoops.pkl An unexpected error has occurred. Would you mind filing a bug report? % echo $? 1 ``` ```shell % pkl --version Pkl 0.26.3 (macOS 14.4.1, native) ```
adam added the bug label 2025-12-30 01:22:26 +01:00
adam closed this issue 2025-12-30 01:22:26 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#221