mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
* Change the right-hand side of the ‘.’ operator from an attribute to
an attribute path. This is a refactoring to support default values.
This commit is contained in:
parent
5580f3817c
commit
2b9e29b1c8
4 changed files with 33 additions and 18 deletions
|
@ -43,7 +43,7 @@ void ExprVar::show(std::ostream & str)
|
|||
|
||||
void ExprSelect::show(std::ostream & str)
|
||||
{
|
||||
str << "(" << *e << ")." << name;
|
||||
str << "(" << *e << ")." << showAttrPath(attrPath);
|
||||
}
|
||||
|
||||
void ExprOpHasAttr::show(std::ostream & str)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue