diff options
author | Nadrieril Feneanar | 2020-02-06 17:05:30 +0000 |
---|---|---|
committer | GitHub | 2020-02-06 17:05:30 +0000 |
commit | ce289aeb3db3085a327e3a509f69edcea0f86be0 (patch) | |
tree | 1f60a5f9007fc8a6df15873e55bf46ed2bd4ec26 /dhall/tests/type-errors/unit/MistypedToMap4.txt | |
parent | eb9129312edf574948df777acb340189dc147724 (diff) | |
parent | c27d8ff15988b914d21135dadffe9871441c127f (diff) |
Merge pull request #129 from Nadrieril/missing-features
Implement some missing features
Diffstat (limited to '')
-rw-r--r-- | dhall/tests/type-errors/unit/MistypedToMap4.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dhall/tests/type-errors/unit/MistypedToMap4.txt b/dhall/tests/type-errors/unit/MistypedToMap4.txt new file mode 100644 index 0000000..e0cf651 --- /dev/null +++ b/dhall/tests/type-errors/unit/MistypedToMap4.txt @@ -0,0 +1,6 @@ +Type error: error: Annotation mismatch + --> <current file>:1:0 + | +1 | toMap { foo= 1, bar= 4 } : List { mapKey : Text, mapValue : Text } + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Annotation mismatch + | |