summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/T5934.stderr
blob: 9024f516b87b81e63a34df04ada9dd9a288e9ab5 (plain)
1
2
3
4
5
6
7
8
9
10
11

T5934.hs:12:7: error:
    • Couldn't match type ‘a0’
                     with ‘(forall s. Gen (PrimState (ST s))) -> Int’
      Expected: (forall s. GenST s) -> Int
        Actual: a0
      Cannot instantiate unification variable ‘a0’
      with a type involving polytypes:
        (forall s. Gen (PrimState (ST s))) -> Int
    • In the expression: 0
      In an equation for ‘run’: run = 0