mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 15:13:38 +01:00
Semantics of Listing typechecks have changed in 0.27 #245
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 @odenix on GitHub (Nov 5, 2024).
The following program fails in 0.26.3 but passes in 0.27.0.
(My understanding is that the goal was to preserve semantics of Listing typechecks.)
@bioball commented on GitHub (Nov 5, 2024):
Ah, I think this is a regression in our typechecking logic. It shouldn't be possible to amend
band get members of typeListing<Int>.