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

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