summaryrefslogtreecommitdiff
path: root/testsuite/tests/pmcheck/should_compile/EmptyCase007.stderr
blob: 14693dcdcb723a86e69658b76bb1c01d4476f3b5 (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
26
27
28
29
30
31

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

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

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

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

EmptyCase007.hs:44:17: warning: [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In a case alternative: Patterns of type ‘FA Char’ not matched: _

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