summaryrefslogtreecommitdiff
path: root/dhall/tests/type-inference/failure/unit/MistypedToMap4.txt
blob: 45b7552a7fb0095a3cdc8c86b1a28952ea89a826 (plain)
1
2
3
4
5
6
Type error: error: Annotation mismatch
 --> <current file>:1:1
  |
1 | toMap { foo= 1, bar= 4 } : List { mapKey : Text, mapValue : Text }
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Annotation mismatch
  |