#1312: runghc doesn't respect -main-is
----------------------+-----------------------------------------------------
Reporter: simonmar | Owner: igloo
Type: bug | Status: closed
Priority: normal | Milestone: 6.8.3
Component: Compiler | Version: 6.6.1
Severity: minor | Resolution: fixed
Keywords: | Difficulty: Easy (1 hr)
Testcase: | Architecture: Multiple
Os: Unknown |
----------------------+-----------------------------------------------------
Changes (by igloo):
* status: new => closed
* resolution: => fixed
Comment:
OK, this is now done in 6.8 and HEAD, but you need to escape the argument
to `-main-is` so runghc doesn't think it's the module to load:
{{{
runghs -main-is --ghc-arg=foo bar.hs
}}}
Perhaps we should have
{{{
+GHC ... -GHC
}}}
or something, but that's a matter for another ticket!
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1312#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs