Rename Value::normalType() -> Value::type()

This commit is contained in:
Silvan Mosberger
2020-12-17 14:45:45 +01:00
parent d67e02919c
commit 12e65078ef
16 changed files with 125 additions and 125 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ void EvalState::forceValue(Value & v, const Pos & pos)
inline void EvalState::forceAttrs(Value & v)
{
forceValue(v);
if (v.normalType() != nAttrs)
if (v.type() != nAttrs)
throwTypeError("value is %1% while a set was expected", v);
}
@@ -64,7 +64,7 @@ inline void EvalState::forceAttrs(Value & v)
inline void EvalState::forceAttrs(Value & v, const Pos & pos)
{
forceValue(v, pos);
if (v.normalType() != nAttrs)
if (v.type() != nAttrs)
throwTypeError(pos, "value is %1% while a set was expected", v);
}