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

T19709d.hs:6:4: 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:4-44: Non-exhaustive patterns in case

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