summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/ToMapWrongKind.txt
diff options
context:
space:
mode:
authorNadrieril2020-02-04 19:04:27 +0000
committerNadrieril2020-02-04 19:05:08 +0000
commit5e50ad90b01ef5f589515280668187b722bfcb5f (patch)
tree3864cb9b3a107aeef0813e18877e7eb8c1d32dbf /dhall/tests/type-errors/unit/ToMapWrongKind.txt
parenteb9129312edf574948df777acb340189dc147724 (diff)
Implement typechecking of toMap
Diffstat (limited to '')
-rw-r--r--dhall/tests/type-errors/unit/ToMapWrongKind.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/dhall/tests/type-errors/unit/ToMapWrongKind.txt b/dhall/tests/type-errors/unit/ToMapWrongKind.txt
new file mode 100644
index 0000000..8158c08
--- /dev/null
+++ b/dhall/tests/type-errors/unit/ToMapWrongKind.txt
@@ -0,0 +1,6 @@
+Type error: error: `toMap` only accepts records of type `Type`
+ --> <current file>:1:0
+ |
+1 | toMap { x = Bool }
+ | ^^^^^^^^^^^^^^^^^^ `toMap` only accepts records of type `Type`
+ |