summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/EmptyToMap.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dhall/tests/type-errors/unit/EmptyToMap.txt')
-rw-r--r--dhall/tests/type-errors/unit/EmptyToMap.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/dhall/tests/type-errors/unit/EmptyToMap.txt b/dhall/tests/type-errors/unit/EmptyToMap.txt
new file mode 100644
index 0000000..000fac7
--- /dev/null
+++ b/dhall/tests/type-errors/unit/EmptyToMap.txt
@@ -0,0 +1,6 @@
+Type error: error: `toMap` applied to an empty record requires a type annotation
+ --> <current file>:1:0
+ |
+1 | toMap {=}
+ | ^^^^^^^^^ `toMap` applied to an empty record requires a type annotation
+ |