summaryrefslogtreecommitdiff
path: root/dhall/src
diff options
context:
space:
mode:
authorNadrieril2019-05-02 20:19:45 +0200
committerNadrieril2019-05-02 20:19:45 +0200
commit80f4cfeef3e5dfc6f2aab36c2562b1c0d2b576d8 (patch)
tree49bc6dc52eb392cb5208b9abb0eb2c0ff27c818d /dhall/src
parent26251618301156dddb89b159255955beb41996af (diff)
Update dhall-lang submodule
Diffstat (limited to 'dhall/src')
-rw-r--r--dhall/src/binary.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/binary.rs b/dhall/src/binary.rs
index 7ded3a5..cadd456 100644
--- a/dhall/src/binary.rs
+++ b/dhall/src/binary.rs
@@ -30,7 +30,7 @@ fn cbor_value_to_dhall(data: &cbor::Value) -> Result<ParsedExpr, DecodeError> {
"Type" => Const(Const::Type),
"Kind" => Const(Const::Kind),
"Sort" => Const(Const::Sort),
- s => Var(V(Label::from(s), 0)),
+ _ => Err(DecodeError::WrongFormatError("builtin".to_owned()))?,
},
},
U64(n) => Var(V(Label::from("_"), *n as usize)),