[GHC] #7765: Odd error message for `runghc` with missing `main` function.

GHC ghc-devs at haskell.org
Tue Feb 10 17:20:46 UTC 2015


#7765: Odd error message for `runghc` with missing `main` function.
-------------------------------------+-------------------------------------
        Reporter:  isaacdupree       |                   Owner:
            Type:  bug               |                  Status:  patch
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Compiler          |                 Version:  7.6.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:  #414              |  module/T7765
                                     |                Blocking:
                                     |  Differential Revisions:  Phab:D649
-------------------------------------+-------------------------------------
Changes (by thomie):

 * status:  new => patch
 * testcase:   => module/T7765
 * differential:   => Phab:D649
 * related:   => #414


Comment:

 With Phab:D649, `Main` without `main` is always an error, regardless of
 the mode of operation: `ghc`, `ghci` or `runhaskell` (=`ghc -e main`).

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


More information about the ghc-tickets mailing list