summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/EtaExpandStupid2.stderr
blob: 8477952cb486f6bac6921e03d7234601ecda668f (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#)