[GHC] #2167: The -main-is option to runghc does not appear to work.

GHC trac at galois.com
Sun Mar 30 13:34:18 EDT 2008


#2167: The -main-is option to runghc does not appear to work.
----------------------+-----------------------------------------------------
 Reporter:  cjs       |          Owner:           
     Type:  bug       |         Status:  closed   
 Priority:  normal    |      Milestone:           
Component:  Compiler  |        Version:  6.8.2    
 Severity:  normal    |     Resolution:  duplicate
 Keywords:            |     Difficulty:  Unknown  
 Testcase:            |   Architecture:  x86      
       Os:  NetBSD    |  
----------------------+-----------------------------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => duplicate

Comment:

 Thanks for the report. Happily, this has already been fixed (see #1312),
 although note that you need to escape `Hello`:
 {{{
 runghc -main-is --ghc-arg=Hello Hello.hs
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2167#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list