summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail168.stderr
blob: f16f65bdb12def712b1cb1fe8e64cd2ec51825ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12

tcfail168.hs:8:11:
    Couldn't match expected type `Char -> a0' with actual type `IO ()'
    In the return type of a call of `putChar'
    Probable cause: `putChar' is applied to too many arguments
    In a stmt of a 'do' block: putChar 'a'
    In the expression:
      do { putChar;
           putChar 'a';
           putChar 'a';
           putChar 'a';
           .... }