diff options
author | Nadrieril | 2019-04-20 23:12:25 +0200 |
---|---|---|
committer | Nadrieril | 2019-04-20 23:12:25 +0200 |
commit | 83bc67d4572fe7961842f915d5559ee489e13dfd (patch) | |
tree | d6bff16ce18dda443aa8b9a2fb31c31f0a502ec4 /dhall_generator | |
parent | 5812a53cc9241703bd35586da0036dc170ab3721 (diff) |
An empty optional value is purely semantic
Diffstat (limited to 'dhall_generator')
-rw-r--r-- | dhall_generator/src/quote.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/dhall_generator/src/quote.rs b/dhall_generator/src/quote.rs index 38910a8..c588eda 100644 --- a/dhall_generator/src/quote.rs +++ b/dhall_generator/src/quote.rs @@ -66,11 +66,8 @@ where BoolLit(b) => { quote! { dhall_core::ExprF::BoolLit(#b) } } - EmptyOptionalLit(x) => { - quote! { dhall_core::ExprF::EmptyOptionalLit(#x) } - } - NEOptionalLit(x) => { - quote! { dhall_core::ExprF::NEOptionalLit(#x) } + SomeLit(x) => { + quote! { dhall_core::ExprF::SomeLit(#x) } } EmptyListLit(t) => { quote! { dhall_core::ExprF::EmptyListLit(#t) } |