summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/T12709.stderr
blob: 3dea77979eac8cc8ba269cda55f9f1c722c386b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

T12709.hs:28:13: error: [GHC-55287]
    • The argument ‘1’ of ‘(+)’
      does not have a fixed runtime representation.
      Its type is:
        a0 :: TYPE c0
      Cannot unify ‘rep’ with the type variable ‘c0’
      because it is not a concrete ‘RuntimeRep’.
    • In the expression: 1 + 2 + 3 + 4
      In an equation for ‘u’: u = 1 + 2 + 3 + 4
      In the expression:
        let
          u :: Num (a :: TYPE rep) => a
          u = 1 + 2 + 3 + 4
        in BUB u u
    • Relevant bindings include u :: a (bound at T12709.hs:28:9)