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