summaryrefslogtreecommitdiff
path: root/testsuite/tests/layout/layout006.stdout
blob: 8037c234c563307771bf433ea750b452bda1d7fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Running with -XNoAlternativeLayoutRule

layout006.hs:12:4: warning: [-Woverlapping-patterns (in -Wdefault)]
    Pattern match is redundant
    In an equation for ‘f’: f | True = ...
Running with -XAlternativeLayoutRule

layout006.hs:12:2: error: parse error on input ‘|’
Running with -XAlternativeLayoutRule -XAlternativeLayoutRuleTransitional

layout006.hs:12:2: warning: [-Walternative-layout-rule-transitional (in -Wdefault)]
    transitional layout will not be accepted in the future:
    `|' at the same depth as implicit layout block

layout006.hs:12:4: warning: [-Woverlapping-patterns (in -Wdefault)]
    Pattern match is redundant
    In an equation for ‘f’: f | True = ...