summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/ds020.stderr
blob: e046f327f930bdf9b7fece0fe22cb3950b975db4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

ds020.hs:9:1: warning: [-Woverlapping-patterns (in -Wdefault)]
    Pattern match is redundant
    In an equation for ‘a’: a ~(~[], ~[], ~[]) = ...

ds020.hs:12:1: warning: [-Woverlapping-patterns (in -Wdefault)]
    Pattern match is redundant
    In an equation for ‘b’: b ~(~x : ~xs : ~ys) = ...

ds020.hs:19:1: warning: [-Woverlapping-patterns (in -Wdefault)]
    Pattern match is redundant
    In an equation for ‘d’: d ~(n+43) = ...

ds020.hs:20:1: warning: [-Woverlapping-patterns (in -Wdefault)]
    Pattern match is redundant
    In an equation for ‘d’: d ~(n+999) = ...

ds020.hs:23:1: warning: [-Woverlapping-patterns (in -Wdefault)]
    Pattern match is redundant
    In an equation for ‘f’: f x@(~[]) = ...