mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
Extending an abstract class **without** overriding an abstract property crashes with ambiguous message #354
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 @StefMa on GitHub (Oct 28, 2025).
Given:
Leads to:
See also: https://pkl-playground.vercel.app/?share=bad-tone-whispered
I've the same issue locally with the latest 0.29.1 version:
@StefMa commented on GitHub (Oct 28, 2025):
If I go with
abstract hidden name: String, it works perfectly fine.Even wihtout overriding it in the child-class.
Seems also wrong to me 👀
☝️ Works without any issues
https://pkl-playground.vercel.app/?share=transportation-announced-explanation
@HT154 commented on GitHub (Oct 28, 2025):
The second one is definitely expected behavior:
hiddenproperties are not rendered, and because Pkl evaluation is lazy the entire property is not evaluated, so the error never occurs.@bioball commented on GitHub (Oct 28, 2025):
Thanks for the report!