summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T19709d.stderr
blob: 3ee2ac84242c226f529ee11c9b3985e28676e82b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

T19709d.hs:6:2: warning: [-Wincomplete-patterns (in -Wextra)]
    Pattern match(es) are non-exhaustive
    In a case alternative:
        Patterns of type ‘String’ not matched:
            []
            [p] where p is not one of {'h'}
            (p:_:_) where p is not one of {'h'}
            ['h']
            ...

T19709d.hs:1:1: error:
    Exception when trying to run compile-time code:
      T19709d.hs:6:2-46: Non-exhaustive patterns in case

    Code: (case tail "hello" of "hello" -> return [])