
#7765: Odd error message for `runghc` with missing `main` function. -----------------------------+---------------------------------------------- Reporter: isaacdupree | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.6.1 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: -----------------------------+---------------------------------------------- {{{ % cat what.hs module Main where {} % runghc what.hs what.hs:1:33: Not in scope: `main' Perhaps you meant `min' (imported from Prelude) }}} '`ghc what.hs`' gives a rather more sensible message. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7765 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler