From 2b9e29b1c8b6b8e4884a46a3ba71ee795f1f97cd Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 6 Jul 2011 12:28:57 +0000 Subject: * Change the right-hand side of the ‘.’ operator from an attribute to an attribute path. This is a refactoring to support default values. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libexpr/nixexpr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libexpr/nixexpr.cc') diff --git a/src/libexpr/nixexpr.cc b/src/libexpr/nixexpr.cc index 5957618702a2..2632d9f3ff8b 100644 --- a/src/libexpr/nixexpr.cc +++ b/src/libexpr/nixexpr.cc @@ -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) -- cgit 1.4.1