summaryrefslogtreecommitdiff
path: root/testsuite/tests/pmcheck/should_compile/T18610.stderr
blob: c4576625628e994f7a5777edf667725427489f54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

T18610.hs:15:3: warning: [-Woverlapping-patterns (in -Wdefault)]
    Pattern match is redundant
    In a case alternative: (True, False) -> ...

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

T18610.hs:53:3: warning: [-Winaccessible-code (in -Wdefault)]
    • Inaccessible code in
        a pattern with constructor: Refl :: forall {k} (a :: k). a :~: a,
        in an equation for ‘k’
      Couldn't match type ‘Bool’ with ‘Int’
    • In the pattern: Refl
      In an equation for ‘k’: k Refl _ | considerAccessible = 2