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

EmptyCase008.hs:17:7: warning: [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In a \case alternative:
        Patterns of type ‘Foo3 Int’ not matched:
            Foo3 (MkDA1 _)
            Foo3 MkDA2

EmptyCase008.hs:21:7: warning: [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In a \case alternative:
        Patterns of type ‘Foo3 a’ not matched: Foo3 _

EmptyCase008.hs:40:7: warning: [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In a \case alternative:
        Patterns of type ‘Foo4 Int ()’ not matched: Foo4 MkDB1

EmptyCase008.hs:48:7: warning: [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In a \case alternative:
        Patterns of type ‘Foo4 a b’ not matched: Foo4 _