summaryrefslogtreecommitdiff
path: root/testsuite/tests/pmcheck/should_compile/EmptyCase008.stderr
blob: 1ca24e8b330e5bda7f0e539ddf2049ea3ed4092a (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: [GHC-62161] [-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: [GHC-62161] [-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: [GHC-62161] [-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: [GHC-62161] [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In a \case alternative:
        Patterns of type ‘Foo4 a b’ not matched: Foo4 _