summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T1899.stderr
blob: bd4aceed9ee675a499bda6fe272f984c65d17dc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

T1899.hs:15:36: error:
    • Couldn't match type ‘a’ with ‘Proposition a0’
      Expected: [Proposition a0]
        Actual: [a]
      ‘a’ is a rigid type variable bound by
        the type signature for:
          transRHS :: forall a. [a] -> Int -> Constraint a
        at T1899.hs:9:2-39
    • In the first argument of ‘Auxiliary’, namely ‘varSet’
      In the first argument of ‘Prop’, namely ‘(Auxiliary varSet)’
      In the expression: Prop (Auxiliary varSet)
    • Relevant bindings include
        varSet :: [a] (bound at T1899.hs:10:11)
        transRHS :: [a] -> Int -> Constraint a (bound at T1899.hs:10:2)