Ticket #2167 (closed bug: duplicate)
The -main-is option to runghc does not appear to work.
|Reported by:||cjs||Owned by:|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
Description (last modified by igloo) (diff)
The -main-is option to runghc does not appear to work, at least not when specifying a package name. Create Hello.hs:
module Hello where main = putStrLn "Hello."
and then try to run it:
runghc -main-is Hello Hello.hs
You will see:
<interactive>:1:113: Failed to load interface for `Main': Use -v to see a list of the files searched for.