Ticket #7765 (new bug)
Odd error message for `runghc` with missing `main` function.
| Reported by: | isaacdupree | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.8.1 |
| Component: | Compiler | Version: | 7.6.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
% 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.
Change History
Note: See
TracTickets for help on using
tickets.
