summaryrefslogtreecommitdiff
path: root/testsuite/tests/layout/layout006.stdout
blob: bb6ac253116359b9283324afd6e51323a2b048f6 (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: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)]
    Pattern match is redundant
    In an equation for ‘f’: f | True = ...
Running with -XAlternativeLayoutRule

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

layout006.hs:12:2: warning: [GHC-93617] [-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: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)]
    Pattern match is redundant
    In an equation for ‘f’: f | True = ...