summaryrefslogtreecommitdiff
path: root/dhall_generator/src
diff options
context:
space:
mode:
Diffstat (limited to 'dhall_generator/src')
-rw-r--r--dhall_generator/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall_generator/src/lib.rs b/dhall_generator/src/lib.rs
index 434d297..a246818 100644
--- a/dhall_generator/src/lib.rs
+++ b/dhall_generator/src/lib.rs
@@ -76,9 +76,9 @@ fn dhall_to_tokenstream(
let es = vec_to_tokenstream(es, ctx);
quote! { NEListLit(#es) }
}
- Record(m) => {
+ RecordType(m) => {
let m = map_to_tokenstream(m, ctx);
- quote! { Record(#m) }
+ quote! { RecordType(#m) }
}
RecordLit(m) => {
let m = map_to_tokenstream(m, ctx);