summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail/mono.stderr
blob: db54f0b11abdd41f0f0b7b1ff277fa4c6ec2fe6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12

mono.hs:7:4:
    Couldn't match type ‛Int’ with ‛Bool’
    Expected type: [Bool]
      Actual type: [Int]
    In the pattern: Single x
    In an equation for ‛f’: f (Single x) = x

mono.hs:7:16:
    Couldn't match expected type ‛Bool’ with actual type ‛Int’
    In the expression: x
    In an equation for ‛f’: f (Single x) = x