mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
Improve the usability of outer
#341
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 @HT154 on GitHub (Aug 31, 2025).
cf. Peter's old notes
This is a potentially breaking change in cases like this:
In the current state,
a.b.foois"baz"sinceouterrefers toa. As proposed, ifouter.foorefers to the "lexically next outer"foothena.b.foois"bar".@bioball commented on GitHub (Sep 1, 2025):
This would definitely be a breaking change.
I don't think this makes sense to change now. But, one paper cut here is that
outercan only look up one level higher. Possibly, we should allowouterto be chained.