summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/T5934.stderr
blob: 67a468057cee944ac74a07186c168cdf699cd6fb (plain)
1
2
3
4
5
6
7
8

T5934.hs:12:7:
    Couldn't match type ‘Integer’
                  with ‘(forall s. Gen (PrimState (ST s))) -> Int’
    Expected type: Integer -> (forall s. GenST s) -> Int
      Actual type: Integer -> Integer
    In the expression: 0
    In an equation for ‘run’: run = 0