diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-08-29T15·56+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-08-29T17·37+0200 |
commit | c42d1acfeb42febb2815a3b76f24b9fc88d50ba8 (patch) | |
tree | 82022e5a8f5e6f500a59d67ddc89a4a17e4eed2d /src/libexpr/eval.hh | |
parent | 26d92017d3b36cff940dcb7d1611c42232edb81a (diff) |
forceBool(): Show position info
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 6f1befa2a23e..b7dab885f968 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -157,7 +157,7 @@ public: /* Force `v', and then verify that it has the expected type. */ NixInt forceInt(Value & v, const Pos & pos); NixFloat forceFloat(Value & v, const Pos & pos); - bool forceBool(Value & v); + bool forceBool(Value & v, const Pos & pos); inline void forceAttrs(Value & v); inline void forceAttrs(Value & v, const Pos & pos); inline void forceList(Value & v); |