
#7765: Odd error message for `runghc` with missing `main` function. -------------------------------------+------------------------------------- Reporter: isaacdupree | Owner: Type: bug | Status: patch Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.6.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: #414 | module/T7765 | Blocking: | Differential Revisions: Phab:D649 -------------------------------------+------------------------------------- Changes (by thomie): * status: new => patch * testcase: => module/T7765 * differential: => Phab:D649 * related: => #414 Comment: With Phab:D649, `Main` without `main` is always an error, regardless of the mode of operation: `ghc`, `ghci` or `runhaskell` (=`ghc -e main`). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/7765#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler