summaryrefslogtreecommitdiff
path: root/testsuite/tests/wcompat-warnings/WCompatWarningsOn.stderr
blob: b0d7bb263648a939b011d896e8419faf252c3360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

Template.hs:7:1: warning: [-Wsemigroup (in -Wcompat)]
    Local definition of ‘<>’ clashes with a future Prelude name.
    This will become an error in a future release.

Template.hs:13:3: warning: [-Wnoncanonical-monoid-instances (in -Wcompat)]
    Noncanonical ‘(<>) = mappend’ definition detected
    in the instance declaration for ‘Semigroup S’.
    Move definition from ‘mappend’ to ‘(<>)’

Template.hs:16:3: warning: [-Wnoncanonical-monoid-instances (in -Wcompat)]
    Noncanonical ‘mappend’ definition detected
    in the instance declaration for ‘Monoid S’.
    Define as ‘mappend = (<>)’

Template.hs:20:15: warning: [-Wstar-is-type (in -Wcompat)]
    Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
    relies on the StarIsType extension, which will become
    deprecated in the future.
    Suggested fix: use ‘Type’ from ‘Data.Kind’ instead.