mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
remove ExprAttrs::AttrDef::inherited
it's no longer widely used and has a rather confusing meaning now that inherit-from is handled very differently.
This commit is contained in:
parent
cefd0302b5
commit
1cd87b7042
3 changed files with 2 additions and 4 deletions
|
@ -189,8 +189,6 @@ struct ExprAttrs : Expr
|
|||
: kind(kind), e(e), pos(pos) { };
|
||||
AttrDef() { };
|
||||
|
||||
bool inherited() const { return kind == Kind::Inherited; }
|
||||
|
||||
template<typename T>
|
||||
const T & chooseByKind(const T & plain, const T & inherited, const T & inheritedFrom) const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue