mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
outer.outer.p doesn't work?
#68
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 @EvgSkv on GitHub (Feb 14, 2024).
What if I need to access a field
pwhich is two levels up? Seems likeouter.outer.pshould access it, but I am getting an error.@bioball commented on GitHub (Feb 15, 2024):
Right;
outercan't be nested.To go further out, you can add a
local:Or, if it happens to be defined on the module level, access through
module:@EvgSkv commented on GitHub (Feb 15, 2024):
Is there a reason why outer can't be nested? Addressing a field two levels above seems natural. Are there plans to enable nesting?
Seems like nesting would be a good feature :-)
Thank you for your work and fast response!