summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/T15139.stderr
blob: b42cb23d27626491ff0caa74b5e6aba06cb1eb61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

T15139.hs:11:1: warning: [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In an equation for ‘f1’:
        Patterns of type  ‘Bool’ not matched: False
   |
11 | f1 True = case can'tHappen of {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

T15139.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In an equation for ‘f2’:
        Patterns of type  ‘Bool’ not matched: False
   |
12 | f2 True = case can'tHappen of
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

T15139.hs:13:1: warning: [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In an equation for ‘g’: Patterns of type  ‘Bool’ not matched: False
   |
13 | g  True = case () of () -> True
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^