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

T12906.hs:2:7: error: [GHC-83865]
    • 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)