Odd error message for `runghc` with missing `main` function.
% 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.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |