[GHC] #7765: Odd error message for `runghc` with missing `main` function.
GHC
cvs-ghc at haskell.org
Wed Mar 13 01:54:29 CET 2013
#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
More information about the ghc-tickets
mailing list