summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail014.stderr
blob: bf28aa76b77fc0e7929072ba65b719101ac87504 (plain)
1
2
3
4
5
6
7
8

tcfail014.hs:5:33:
    Occurs check: cannot construct the infinite type: t8 ~ t8 -> t7
    In the first argument of ā€˜zā€™, namely ā€˜zā€™
    In the expression: z z
    Relevant bindings include
      z :: t8 -> t7 (bound at tcfail014.hs:5:27)
      h :: (t8 -> t7) -> t7 (bound at tcfail014.hs:5:25)