summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_run/T9497b-run.stderr
blob: e5a1bafce3d61eb05223da73165638ca314fa1ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
T9497b-run: T9497b-run.hs:2:8: error:
    • Found hole: _main :: IO ()
      Or perhaps ‘_main’ is mis-spelled, or not in scope
    • In the expression: _main
      In an equation for ‘main’: main = _main
    • Relevant bindings include
        main :: IO () (bound at T9497b-run.hs:2:1)
      Valid substitutions include
        main :: IO () (defined at T9497b-run.hs:2:1)
        readLn :: forall a. Read a => IO a
          (imported from ‘Prelude’ at T9497b-run.hs:1:1
           (and originally defined in ‘System.IO’))
        mempty :: forall a. Monoid a => a
          (imported from ‘Prelude’ at T9497b-run.hs:1:1
           (and originally defined in ‘GHC.Base’))
        undefined :: forall a. GHC.Stack.Types.HasCallStack => a
          (imported from ‘Prelude’ at T9497b-run.hs:1:1
           (and originally defined in ‘GHC.Err’))
(deferred type error)