summaryrefslogtreecommitdiff
path: root/dhall/tests/type-inference/failure/unit/NonRecordToMap.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dhall/tests/type-inference/failure/unit/NonRecordToMap.txt')
-rw-r--r--dhall/tests/type-inference/failure/unit/NonRecordToMap.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/dhall/tests/type-inference/failure/unit/NonRecordToMap.txt b/dhall/tests/type-inference/failure/unit/NonRecordToMap.txt
new file mode 100644
index 0000000..8e83002
--- /dev/null
+++ b/dhall/tests/type-inference/failure/unit/NonRecordToMap.txt
@@ -0,0 +1,6 @@
+Type error: error: The argument to `toMap` must be a record
+ --> <current file>:1:0
+ |
+1 | toMap "text"
+ | ^^^^^^^^^^^^ The argument to `toMap` must be a record
+ |