From 0424d165836fcbf15aa2e05527d0e790941c9518 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sun, 24 Mar 2019 23:36:15 +0100 Subject: Lay groundwork for DhallType deriving --- dhall_generator/src/dhall_expr.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dhall_generator/src/dhall_expr.rs') 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) } -- cgit v1.2.3