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

T12906.hs:2:7: error:
    • Couldn't match type: IO ()
                     with: [Char]
      Expected: String
        Actual: IO ()
    • In the expression: print (reverse s + 1)
      In an equation for ‘x’: x s = print (reverse s + 1)