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