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.
<details><summary>Trac metadata</summary>
| 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 | |
</details>
<!-- {"blocked_by":[],"summary":"Odd error message for `runghc` with missing `main` function.","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"7.6.1","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"{{{\r\n% cat what.hs\r\nmodule Main where {}\r\n\r\n% runghc what.hs\r\nwhat.hs:1:33:\r\n Not in scope: `main'\r\n Perhaps you meant `min' (imported from Prelude)\r\n}}}\r\n\r\n'`ghc what.hs`' gives a rather more sensible message.","type_of_failure":"OtherFailure","blocking":[]} -->
issue