diff options
author | Shea Levy <shea@shealevy.com> | 2013-12-31T22·57-0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2013-12-31T22·57-0500 |
commit | 6f3a51809a2603574a16573bd46b95e4ff5233bd (patch) | |
tree | 5b840b6156d4eff11781e2c12258f36fd4fddac5 /src/libexpr/common-opts.cc | |
parent | 18fefacf7df570444b332a8a0c2dc4f9d98d4344 (diff) |
Fold dynamic binds handling into addAttr
Since addAttr has to iterate through the AttrPath we pass it, it makes more sense to just iterate through the AttrNames in addAttr instead. As an added bonus, this allows attrsets where two dynamic attribute paths have the same static leading part (see added test case for an example that failed previously). Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'src/libexpr/common-opts.cc')
0 files changed, 0 insertions, 0 deletions