summaryrefslogtreecommitdiff
path: root/dhall_generator/src/dhall_expr.rs
diff options
context:
space:
mode:
authorNadrieril2019-03-24 23:36:15 +0100
committerNadrieril2019-03-24 23:36:15 +0100
commit0424d165836fcbf15aa2e05527d0e790941c9518 (patch)
tree8aaf71ac08cf912f4d4c2c47f51d58dcaa874891 /dhall_generator/src/dhall_expr.rs
parent5663b4499b46a914ad59792220b0a6cfc24b608c (diff)
Lay groundwork for DhallType deriving
Diffstat (limited to '')
-rw-r--r--dhall_generator/src/dhall_expr.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/dhall_generator/src/dhall_expr.rs b/dhall_generator/src/dhall_expr.rs
index 1eb4580..1ee4d1a 100644
--- a/dhall_generator/src/dhall_expr.rs
+++ b/dhall_generator/src/dhall_expr.rs
@@ -62,6 +62,9 @@ fn dhall_to_tokenstream(
NaturalLit(n) => {
quote! { dhall_core::Expr::NaturalLit(#n) }
}
+ BoolLit(b) => {
+ quote! { dhall_core::Expr::BoolLit(#b) }
+ }
EmptyOptionalLit(x) => {
let x = dhall_to_tokenstream_bx(x, ctx);
quote! { dhall_core::Expr::EmptyOptionalLit(#x) }