summaryrefslogtreecommitdiff
path: root/testsuite/tests/pmcheck/should_compile/pmc001.stderr
blob: 6f154447771d5e61170c01669cb55c6ba8df84e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

pmc001.hs:14:1: warning: [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In an equation for ‘f’:
        Patterns of type  ‘T [a]’, ‘T [a]’ not matched:
            MkT1 MkT3
            (MkT2 _) MkT3
            MkT3 MkT1
            MkT3 (MkT2 _)

pmc001.hs:19:1: warning: [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In an equation for ‘g’:
        Patterns of type  ‘T [a]’, ‘T [a]’ not matched:
            MkT1 MkT3
            (MkT2 _) MkT3
            MkT3 MkT1
            MkT3 (MkT2 _)