aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/value-to-json.cc
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2020-12-17 14:45:45 +0100
committerSilvan Mosberger <contact@infinisil.com>2020-12-17 14:45:45 +0100
commit12e65078ef5c511196c9e48f7fdf71f6c0e5c89f (patch)
tree1d2f6489422eb51bcb55b338125e2efab7faefed /src/libexpr/value-to-json.cc
parentd67e02919c7f941615407dfd14cfdab6a28c4c26 (diff)
Rename Value::normalType() -> Value::type()
Diffstat (limited to 'src/libexpr/value-to-json.cc')
-rw-r--r--src/libexpr/value-to-json.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/value-to-json.cc b/src/libexpr/value-to-json.cc
index b5f4c8654..bfea24d40 100644
--- a/src/libexpr/value-to-json.cc
+++ b/src/libexpr/value-to-json.cc
@@ -16,7 +16,7 @@ void printValueAsJSON(EvalState & state, bool strict,
if (strict) state.forceValue(v);
- switch (v.normalType()) {
+ switch (v.type()) {
case nInt:
out.write(v.integer);