mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
libexpr: Add and use app
getter
This commit is contained in:
parent
f07a9f863e
commit
c041d71406
3 changed files with 5 additions and 2 deletions
|
@ -148,7 +148,7 @@ PosIdx Value::determinePos(const PosIdx pos) const
|
|||
switch (internalType) {
|
||||
case tAttrs: return attrs()->pos;
|
||||
case tLambda: return lambda().fun->pos;
|
||||
case tApp: return payload.app.left->determinePos(pos);
|
||||
case tApp: return app().left->determinePos(pos);
|
||||
default: return pos;
|
||||
}
|
||||
#pragma GCC diagnostic pop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue