summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/read014.stderr
blob: 88ba43d65df294d0f23e9605801e5944da996ea8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

read014.hs:4:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)]
    Top-level binding with no type signature:
      ng1 :: Num a => p -> a -> a

read014.hs:4:5: warning: [-Wunused-matches (in -Wextra)]
    Defined but not used: ‘x’

read014.hs:6:10: warning: [GHC-06201] [-Wmissing-methods (in -Wdefault)]
    • No explicit implementation for
        ‘+’, ‘*’, ‘abs’, ‘signum’, and ‘fromInteger’
    • In the instance declaration for ‘Num (a, b)’

read014.hs:8:53: warning: [-Wunused-matches (in -Wextra)]
    Defined but not used: ‘x’