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

T12906.hs:1:1: error:
    The IO action ‘main’ is not defined in module ‘Main’

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)