summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/read014.stderr
blob: c30202f784cce4ecf628f82f2f4150f51616f26d (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: [-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’