diff options
Diffstat (limited to 'dhall/tests/type-errors/unit/ToMapWrongKind.txt')
-rw-r--r-- | dhall/tests/type-errors/unit/ToMapWrongKind.txt | 6 |
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` + | |