summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/EtaExpandStupid2.stderr
blob: d0319f8628a50ab800f37fea6667da2d2c06c5e4 (plain)
1
2
3
4
5
6
7
8
9

EtaExpandStupid2.hs:16:8: error:
    • No instance for (Num c) arising from a use of ‘MkD4’
      Possible fix:
        add (Num c) to the context of
          the type signature for:
            foo4 :: forall c. Int -> c -> D4 Float# Int c
    • In the expression: MkD4 (9.0# `timesFloat#` 17.0#)
      In an equation for ‘foo4’: foo4 = MkD4 (9.0# `timesFloat#` 17.0#)