refactor(tvix): Very minor lint fixes

Change-Id: I4aca504d98c79f931b7faadff86f40d27ed5a2c5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1719
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
This commit is contained in:
Vincent Ambo 2020-08-12 01:35:08 +01:00 committed by tazjin
parent c9d5262aa7
commit e38015f7b5
2 changed files with 4 additions and 3 deletions

View file

@ -2,6 +2,7 @@
#include <algorithm>
#include <chrono>
#include <cstdint>
#include <cstring>
#include <fstream>
#include <iostream>
@ -903,7 +904,7 @@ static std::string showAttrPath(EvalState& state, Env& env,
return out.str();
}
unsigned long nrLookups = 0;
uint64_t nrLookups = 0;
void ExprSelect::eval(EvalState& state, Env& env, Value& v) {
Value vTmp;

View file

@ -11,7 +11,7 @@
namespace nix {
typedef enum {
using ValueType = enum {
tInt = 1,
tBool,
tString,
@ -27,7 +27,7 @@ typedef enum {
tPrimOpApp,
_reserved1, // formerly tExternal
tFloat
} ValueType;
};
class Bindings;
struct Env;