summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail/T18856.stderr
blob: 08a9e57c3dad6f83b96f63108cb204eb6c0eddce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

T18856.hs:6:19: error: [GHC-83865]
    • Couldn't match expected type ‘Bool’ with actual type ‘Int’
    • In the declaration for pattern synonym ‘P’
  |
6 | pattern P p q <- (q, p, [(True,False)])
  |                   ^

T18856.hs:6:22: error: [GHC-83865]
    • Couldn't match expected type ‘Int’ with actual type ‘Bool’
    • In the declaration for pattern synonym ‘P’
  |
6 | pattern P p q <- (q, p, [(True,False)])
  |                      ^