diff options
author | Silvan Mosberger <contact@infinisil.com> | 2020-12-12 02:09:10 +0100 |
---|---|---|
committer | Silvan Mosberger <contact@infinisil.com> | 2020-12-12 03:31:48 +0100 |
commit | 22ead43a0b8f94f5a4fb64cff14bf6a2a35d671c (patch) | |
tree | d2262f82e8e1032fa285a2ad6ad87f876feb93f7 /src/libexpr/primops/fetchMercurial.cc | |
parent | 9f056f7afdb85b8c3bd59638197e356f269129b2 (diff) |
Use Value::normalType on all forced values instead of Value::type
Diffstat (limited to 'src/libexpr/primops/fetchMercurial.cc')
-rw-r--r-- | src/libexpr/primops/fetchMercurial.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/fetchMercurial.cc b/src/libexpr/primops/fetchMercurial.cc index a77035c16..2461ebc99 100644 --- a/src/libexpr/primops/fetchMercurial.cc +++ b/src/libexpr/primops/fetchMercurial.cc @@ -17,7 +17,7 @@ static void prim_fetchMercurial(EvalState & state, const Pos & pos, Value * * ar state.forceValue(*args[0]); - if (args[0]->type == tAttrs) { + if (args[0]->normalType() == nAttrs) { state.forceAttrs(*args[0], pos); |