summaryrefslogtreecommitdiff
path: root/testsuite/tests/pmcheck/should_compile/pmc007.stderr
blob: 77d2893b2a65f66bfaeb5d80eec9ec83ab51b03e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
pmc007.hs:7:1: warning: [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In an equation for ā€˜fā€™:
        Patterns not matched: p where p is not one of {"ab", "ac"}
 
pmc007.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In an equation for ā€˜gā€™:
        Patterns not matched:
            ('a':'b':_:_)
            ('a':'c':_:_)
            ['a', p] where p is not one of {'b', 'c'}
            ('a':p:_:_) where p is not one of {'b', 'c'}
            ...
 
pmc007.hs:18:11: warning: [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In a case alternative:
        Patterns not matched:
            ('a':'b':_:_)
            ('a':'c':_:_)
            ['a', p] where p is not one of {'b', 'c'}
            ('a':p:_:_) where p is not one of {'b', 'c'}
            ...