summaryrefslogtreecommitdiff
path: root/testsuite/tests/pmcheck/should_compile/pmc007.stderr
blob: 291fbdcde24ac2b790974e6ccb0f22c01875bc1a (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
pmc007.hs:7:1: warning:
    Pattern match(es) are non-exhaustive
    In an equation for ā€˜fā€™:
        Patterns not matched: p where p is not one of {"ac", "ab"}

pmc007.hs:12:1: warning:
    Pattern match(es) are non-exhaustive
    In an equation for ā€˜gā€™:
        Patterns not matched:
            []
            (p:_) where p is not one of {'a'}
            ['a']
            ('a':p:_) where p is not one of {'c', 'b'}
            ...

pmc007.hs:18:11: warning:
    Pattern match(es) are non-exhaustive
    In a case alternative:
        Patterns not matched:
            []
            (p:_) where p is not one of {'a'}
            ['a']
            ('a':p:_) where p is not one of {'c', 'b'}
            ...