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